aboutsummaryrefslogtreecommitdiff
path: root/test-suite/bugs/closed/bug_12651.v
blob: cdeeb84912f080a44472572132a05f455844db5a (plain)
1
2
3
4
5
6
Set Warnings "+implicits-in-term".
Definition thing1 : forall {A}, A -> A := fun A a => a.
Check thing1 : _ -> _.
Fail Definition thing2 : forall {A}, A -> A := fun [A] a => a.
Fail Definition thing2 : forall A, A -> A := fun {A} a => a.