about summary refs log tree commit diff
path: root/src/test/ui/binding/match-enum-struct-0.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/binding/match-enum-struct-0.rs')
-rw-r--r--src/test/ui/binding/match-enum-struct-0.rs17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/test/ui/binding/match-enum-struct-0.rs b/src/test/ui/binding/match-enum-struct-0.rs
deleted file mode 100644
index e2623ece84c..00000000000
--- a/src/test/ui/binding/match-enum-struct-0.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-// run-pass
-#![allow(dead_code)]
-// regression test for issue #5625
-
-
-enum E {
-    Foo{f : isize},
-    Bar
-}
-
-pub fn main() {
-    let e = E::Bar;
-    match e {
-        E::Foo{f: _f} => panic!(),
-        _ => (),
-    }
-}