aboutsummaryrefslogtreecommitdiffhomepage
path: root/test-suite/bugs/closed/5487.v
diff options
context:
space:
mode:
Diffstat (limited to 'test-suite/bugs/closed/5487.v')
-rw-r--r--test-suite/bugs/closed/5487.v9
1 files changed, 9 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/5487.v b/test-suite/bugs/closed/5487.v
new file mode 100644
index 000000000..9b995f450
--- /dev/null
+++ b/test-suite/bugs/closed/5487.v
@@ -0,0 +1,9 @@
+(* Was a collision between an ltac pattern variable and an evar *)
+
+Goal forall n, exists m, n = m :> nat.
+Proof.
+ eexists.
+ Fail match goal with
+ | [ |- ?x = ?y ]
+ => match x with y => idtac end
+ end.