summaryrefslogtreecommitdiffstats
path: root/src/test/ui/threads-sendsync/spawn.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/threads-sendsync/spawn.rs')
-rw-r--r--src/test/ui/threads-sendsync/spawn.rs10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/test/ui/threads-sendsync/spawn.rs b/src/test/ui/threads-sendsync/spawn.rs
deleted file mode 100644
index b1dcc9417..000000000
--- a/src/test/ui/threads-sendsync/spawn.rs
+++ /dev/null
@@ -1,10 +0,0 @@
-// run-pass
-// ignore-emscripten no threads support
-
-use std::thread;
-
-pub fn main() {
- thread::spawn(move|| child(10)).join().ok().unwrap();
-}
-
-fn child(i: isize) { println!("{}", i); assert_eq!(i, 10); }