diff options
Diffstat (limited to 'src/test/run-pass/binding/expr-match-unique.rs')
| -rw-r--r-- | src/test/run-pass/binding/expr-match-unique.rs | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/test/run-pass/binding/expr-match-unique.rs b/src/test/run-pass/binding/expr-match-unique.rs deleted file mode 100644 index a999541207d..00000000000 --- a/src/test/run-pass/binding/expr-match-unique.rs +++ /dev/null @@ -1,10 +0,0 @@ -// run-pass -#![feature(box_syntax)] - -// Tests for match as expressions resulting in boxed types -fn test_box() { - let res: Box<_> = match true { true => { box 100 }, _ => panic!() }; - assert_eq!(*res, 100); -} - -pub fn main() { test_box(); } |
