summaryrefslogtreecommitdiff
path: root/test-suite/bugs/closed/5487.v
blob: 9b995f45031806eae46457454266ed49827f94ac (plain)
1
2
3
4
5
6
7
8
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.