summaryrefslogtreecommitdiffstats
path: root/src/test/ui/unique/unique-move-drop.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/unique/unique-move-drop.rs')
-rw-r--r--src/test/ui/unique/unique-move-drop.rs10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/test/ui/unique/unique-move-drop.rs b/src/test/ui/unique/unique-move-drop.rs
deleted file mode 100644
index c0f5d8f90..000000000
--- a/src/test/ui/unique/unique-move-drop.rs
+++ /dev/null
@@ -1,10 +0,0 @@
-// run-pass
-
-#![allow(unused_variables)]
-
-pub fn main() {
- let i: Box<_> = Box::new(100);
- let j: Box<_> = Box::new(200);
- let j = i;
- assert_eq!(*j, 100);
-}