| 1 |
Require Import ssreflect. |
| 2 |
|
| 3 |
Axioms A B D : Type. |
| 4 |
Class C := {}. |
| 5 |
Axiom f : C -> A -> B. |
| 6 |
Axiom g : D -> C. |
| 7 |
|
| 8 |
Local Hint Extern 0 C => apply g;shelve : typeclass_instances. |
| 9 |
|
| 10 |
Lemma foo : A -> Type. |
| 11 |
Proof. |
| 12 |
move=> /f. (* Not_found *) |
| 13 |
intro;exact nat. |
| 14 |
Qed. |