about summary refs log tree commit diff
path: root/src/test/ui/threads-sendsync/issue-4446.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/threads-sendsync/issue-4446.rs')
-rw-r--r--src/test/ui/threads-sendsync/issue-4446.rs15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/test/ui/threads-sendsync/issue-4446.rs b/src/test/ui/threads-sendsync/issue-4446.rs
deleted file mode 100644
index 948f2a7bdf3..00000000000
--- a/src/test/ui/threads-sendsync/issue-4446.rs
+++ /dev/null
@@ -1,15 +0,0 @@
-// run-pass
-// ignore-emscripten no threads support
-
-use std::sync::mpsc::channel;
-use std::thread;
-
-pub fn main() {
-    let (tx, rx) = channel();
-
-    tx.send("hello, world").unwrap();
-
-    thread::spawn(move|| {
-        println!("{}", rx.recv().unwrap());
-    }).join().ok().unwrap();
-}