about summary refs log tree commit diff
path: root/src/rustc/front/test.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/rustc/front/test.rs')
-rw-r--r--src/rustc/front/test.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rustc/front/test.rs b/src/rustc/front/test.rs
index 27c070cd201..e1441d9ee5e 100644
--- a/src/rustc/front/test.rs
+++ b/src/rustc/front/test.rs
@@ -174,6 +174,7 @@ fn add_test_module(cx: test_ctxt, m: ast::_mod) -> ast::_mod {
 We're going to be building a module that looks more or less like:
 
 mod __test {
+    #[legacy_exports];
 
   fn main(args: ~[str]) -> int {
     std::test::test_main(args, tests())