about summary refs log tree commit diff
path: root/src/test/run-pass/tuple-struct-constructor-pointer.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/run-pass/tuple-struct-constructor-pointer.rs')
-rw-r--r--src/test/run-pass/tuple-struct-constructor-pointer.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-pass/tuple-struct-constructor-pointer.rs b/src/test/run-pass/tuple-struct-constructor-pointer.rs
index dbb5db649ef..e51e6ffd52a 100644
--- a/src/test/run-pass/tuple-struct-constructor-pointer.rs
+++ b/src/test/run-pass/tuple-struct-constructor-pointer.rs
@@ -13,7 +13,7 @@ struct Foo(int);
 #[deriving(Eq)]
 struct Bar(int, int);
 
-fn main() {
+pub fn main() {
     let f: extern fn(int) -> Foo = Foo;
     let g: extern fn(int, int) -> Bar = Bar;
     assert_eq!(f(42), Foo(42));