about summary refs log tree commit diff
path: root/src/test/run-pass/threads-sendsync/threads.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/run-pass/threads-sendsync/threads.rs')
-rw-r--r--src/test/run-pass/threads-sendsync/threads.rs16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/test/run-pass/threads-sendsync/threads.rs b/src/test/run-pass/threads-sendsync/threads.rs
deleted file mode 100644
index e3da83aa12b..00000000000
--- a/src/test/run-pass/threads-sendsync/threads.rs
+++ /dev/null
@@ -1,16 +0,0 @@
-// run-pass
-#![allow(unused_must_use)]
-// ignore-emscripten no threads support
-
-use std::thread;
-
-pub fn main() {
-    let mut i = 10;
-    while i > 0 {
-        thread::spawn({let i = i; move|| child(i)}).join();
-        i = i - 1;
-    }
-    println!("main thread exiting");
-}
-
-fn child(x: isize) { println!("{}", x); }