summaryrefslogtreecommitdiffstats
path: root/tests/ui/unique/unique-destructure.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/unique/unique-destructure.rs')
-rw-r--r--tests/ui/unique/unique-destructure.rs9
1 files changed, 0 insertions, 9 deletions
diff --git a/tests/ui/unique/unique-destructure.rs b/tests/ui/unique/unique-destructure.rs
deleted file mode 100644
index 7207ac962..000000000
--- a/tests/ui/unique/unique-destructure.rs
+++ /dev/null
@@ -1,9 +0,0 @@
-// run-pass
-#![feature(box_patterns)]
-
-struct Foo { a: isize, b: isize }
-
-pub fn main() {
- let box Foo{ a, b } = Box::new(Foo { a: 100, b: 200 });
- assert_eq!(a + b, 300);
-}