summaryrefslogtreecommitdiffstats
path: root/src/test/ui/binding/match-pattern-simple.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/binding/match-pattern-simple.rs')
-rw-r--r--src/test/ui/binding/match-pattern-simple.rs9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/test/ui/binding/match-pattern-simple.rs b/src/test/ui/binding/match-pattern-simple.rs
new file mode 100644
index 000000000..3f56cd479
--- /dev/null
+++ b/src/test/ui/binding/match-pattern-simple.rs
@@ -0,0 +1,9 @@
+// run-pass
+#![allow(dead_code)]
+
+
+// pretty-expanded FIXME #23616
+
+fn altsimple(f: isize) { match f { _x => () } }
+
+pub fn main() { }