about summary refs log tree commit diff
path: root/src/test/run-pass/spawning-with-debug.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/run-pass/spawning-with-debug.rs')
-rw-r--r--src/test/run-pass/spawning-with-debug.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-pass/spawning-with-debug.rs b/src/test/run-pass/spawning-with-debug.rs
index f8094f9fdb9..c14ef147bc7 100644
--- a/src/test/run-pass/spawning-with-debug.rs
+++ b/src/test/run-pass/spawning-with-debug.rs
@@ -15,7 +15,7 @@
 
 use std::task;
 
-fn main() {
+pub fn main() {
     let mut t = task::task();
     t.spawn(proc() ());
 }