summaryrefslogtreecommitdiffstats
path: root/src/test/ui/binding/match-bot-2.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/binding/match-bot-2.rs')
-rw-r--r--src/test/ui/binding/match-bot-2.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/test/ui/binding/match-bot-2.rs b/src/test/ui/binding/match-bot-2.rs
deleted file mode 100644
index 95b3406f0..000000000
--- a/src/test/ui/binding/match-bot-2.rs
+++ /dev/null
@@ -1,6 +0,0 @@
-// run-pass
-#![allow(unreachable_code)]
-// n.b. This was only ever failing with optimization disabled.
-
-fn a() -> isize { match return 1 { 2 => 3, _ => panic!() } }
-pub fn main() { a(); }