about summary refs log tree commit diff
path: root/src/test/run-pass/enum-export-inheritance.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/run-pass/enum-export-inheritance.rs')
-rw-r--r--src/test/run-pass/enum-export-inheritance.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-pass/enum-export-inheritance.rs b/src/test/run-pass/enum-export-inheritance.rs
index b54e7be1fef..c3beebdb8ae 100644
--- a/src/test/run-pass/enum-export-inheritance.rs
+++ b/src/test/run-pass/enum-export-inheritance.rs
@@ -16,7 +16,7 @@ mod a {
     }
 }
 
-fn main() {
+pub fn main() {
     let x = a::Bar;
 }