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