aboutsummaryrefslogtreecommitdiff
path: root/test-suite/bugs/closed/bug_11140.v
blob: ca806ea32462c59337eae5874f80c3356a8decc3 (plain)
1
2
3
4
5
6
7
8
9
10
11
Axiom T : nat -> Prop.
Axiom f : forall x, T x.
Arguments f & x.

Lemma test : (f (1 + _) : T 2) = f 2.
match goal with
| |- (f (1 + 1) = f 2) => idtac
| |- (f 2 = f 2) => fail (* Issue 11140 *)
| |- _ => fail
end.
Abort.