test-suite/bugs/bug_14125.v
raw| 1 | Class A (x : True) := a : True. |
| 2 | Class B x (y : A x) := b : True. |
| 3 | Axiom pf : forall x y, B x y -> False. |
| 4 | #[export] Instance: B I I := I. |
| 5 | Goal False. |
| 6 | #[export] Hint Mode A + : typeclass_instances. |
| 7 | Set Typeclasses Debug. |
| 8 | pose (pf _ _ _). |
| 9 | Set Typeclasses Debug Verbosity 2. |
| 10 | |
| 11 | #[export] Hint Mode A - : typeclass_instances. |
| 12 | pose (pf _ _ _). |
| 13 | Abort. |