summaryrefslogtreecommitdiffstats
path: root/src/test/ui/binding/nil-pattern.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/test/ui/binding/nil-pattern.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/ui/binding/nil-pattern.rs b/src/test/ui/binding/nil-pattern.rs
new file mode 100644
index 000000000..268af351d
--- /dev/null
+++ b/src/test/ui/binding/nil-pattern.rs
@@ -0,0 +1,4 @@
+// run-pass
+// pretty-expanded FIXME #23616
+
+pub fn main() { let x = (); match x { () => { } } }