diff options
Diffstat (limited to 'src/test/ui/unique/unique-send.rs')
-rw-r--r-- | src/test/ui/unique/unique-send.rs | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/test/ui/unique/unique-send.rs b/src/test/ui/unique/unique-send.rs deleted file mode 100644 index 431cc2be5..000000000 --- a/src/test/ui/unique/unique-send.rs +++ /dev/null @@ -1,10 +0,0 @@ -// run-pass - -use std::sync::mpsc::channel; - -pub fn main() { - let (tx, rx) = channel::<Box<_>>(); - tx.send(Box::new(100)).unwrap(); - let v = rx.recv().unwrap(); - assert_eq!(v, Box::new(100)); -} |