| 1 |
Axiom P : nat -> Prop. |
| 2 |
Axiom PS : forall n, P n -> P (S n). |
| 3 |
Axiom P0 : P 0. |
| 4 |
|
| 5 |
#[export] Hint Resolve PS : foobar. |
| 6 |
#[export] Hint Resolve P0 : foobar. |
| 7 |
|
| 8 |
Goal P 100. |
| 9 |
Proof. |
| 10 |
Fail typeclasses eauto 100 with foobar. |
| 11 |
typeclasses eauto 101 with foobar. |
| 12 |
Abort. |