diff options
Diffstat (limited to 'src/test/ui/mir/mir_codegen_switchint.rs')
-rw-r--r-- | src/test/ui/mir/mir_codegen_switchint.rs | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/test/ui/mir/mir_codegen_switchint.rs b/src/test/ui/mir/mir_codegen_switchint.rs deleted file mode 100644 index c092a6c31..000000000 --- a/src/test/ui/mir/mir_codegen_switchint.rs +++ /dev/null @@ -1,12 +0,0 @@ -// run-pass -pub fn foo(x: i8) -> i32 { - match x { - 1 => 0, - _ => 1, - } -} - -fn main() { - assert_eq!(foo(0), 1); - assert_eq!(foo(1), 0); -} |