summaryrefslogtreecommitdiff
path: root/test-suite/bugs/closed/5153.v
blob: be6407b5faae9f0d41680500e1446da693d9dcb2 (plain)
1
2
3
4
5
6
7
8
(* An example where it does not hurt having more type-classes resolution *)
Class some_type := { Ty : Type }.
Instance: some_type := { Ty := nat }.
Arguments Ty : clear implicits.
Goal forall (H : forall t : some_type, @Ty t -> False) (H' : False -> 1 = 2), 1 = 2.
Proof.
intros H H'.
specialize (H' (@H _ O)). (* was failing *)