about summary refs log tree commit diff
path: root/src/test/ui/mir/mir_codegen_switchint.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/mir/mir_codegen_switchint.rs')
-rw-r--r--src/test/ui/mir/mir_codegen_switchint.rs12
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 c092a6c31b2..00000000000
--- 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);
-}