summaryrefslogtreecommitdiffstats
path: root/tests/ui/unique/unique-cmp.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/unique/unique-cmp.rs')
-rw-r--r--tests/ui/unique/unique-cmp.rs11
1 files changed, 0 insertions, 11 deletions
diff --git a/tests/ui/unique/unique-cmp.rs b/tests/ui/unique/unique-cmp.rs
deleted file mode 100644
index ee05dd5a3..000000000
--- a/tests/ui/unique/unique-cmp.rs
+++ /dev/null
@@ -1,11 +0,0 @@
-// run-pass
-#![allow(unused_allocation)]
-
-pub fn main() {
- let i: Box<_> = Box::new(100);
- assert_eq!(i, Box::new(100));
- assert!(i < Box::new(101));
- assert!(i <= Box::new(100));
- assert!(i > Box::new(99));
- assert!(i >= Box::new(99));
-}