summaryrefslogtreecommitdiff
path: root/test-suite/ssr/ssrpattern.v
diff options
context:
space:
mode:
Diffstat (limited to 'test-suite/ssr/ssrpattern.v')
-rw-r--r--test-suite/ssr/ssrpattern.v7
1 files changed, 7 insertions, 0 deletions
diff --git a/test-suite/ssr/ssrpattern.v b/test-suite/ssr/ssrpattern.v
new file mode 100644
index 00000000..422bb95f
--- /dev/null
+++ b/test-suite/ssr/ssrpattern.v
@@ -0,0 +1,7 @@
+Require Import ssrmatching.
+
+Goal forall n, match n with 0 => 0 | _ => 0 end = 0.
+Proof.
+ intro n.
+ ssrpattern (match _ with 0 => _ | S n' => _ end).
+Abort.