about summary refs log tree commit diff
path: root/src/test/run-pass/variant-attributes.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/run-pass/variant-attributes.rs')
-rw-r--r--src/test/run-pass/variant-attributes.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-pass/variant-attributes.rs b/src/test/run-pass/variant-attributes.rs
index 86df25d5496..54a1dd0143e 100644
--- a/src/test/run-pass/variant-attributes.rs
+++ b/src/test/run-pass/variant-attributes.rs
@@ -36,4 +36,4 @@ enum crew_of_enterprise_d {
 
 fn boldly_go(_crew_member: crew_of_enterprise_d, _where: ~str) { }
 
-fn main() { boldly_go(worf, ~"where no one has gone before"); }
+pub fn main() { boldly_go(worf, ~"where no one has gone before"); }