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