summaryrefslogtreecommitdiff
path: root/test-suite/bugs/closed/5331.v
diff options
context:
space:
mode:
Diffstat (limited to 'test-suite/bugs/closed/5331.v')
-rw-r--r--test-suite/bugs/closed/5331.v11
1 files changed, 11 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/5331.v b/test-suite/bugs/closed/5331.v
new file mode 100644
index 00000000..28743736
--- /dev/null
+++ b/test-suite/bugs/closed/5331.v
@@ -0,0 +1,11 @@
+(* Checking no anomaly on some unexpected intropattern *)
+
+Ltac ih H := induction H as H.
+Ltac ih' H H' := induction H as H'.
+
+Goal True -> True.
+Fail intro H; ih H.
+intro H; ih' H ipattern:([]).
+exact I.
+Qed.
+