summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-3500.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/test/ui/issues/issue-3500.rs10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/test/ui/issues/issue-3500.rs b/src/test/ui/issues/issue-3500.rs
new file mode 100644
index 000000000..7b39cc16c
--- /dev/null
+++ b/src/test/ui/issues/issue-3500.rs
@@ -0,0 +1,10 @@
+// run-pass
+// pretty-expanded FIXME #23616
+
+pub fn main() {
+ let x = &Some(1);
+ match x {
+ &Some(_) => (),
+ &None => (),
+ }
+}