Debian Codegraph @

test-suite/bugs/bug_4484.v

raw
1 (* Testing 8.5 regression with type classes not solving evars
2 redefined while trying to solve them with the type class mechanism *)
3
4 Class A := {}.
5 Axiom foo : forall {ac : A}, bool.
6 Lemma bar (ac : A) : True.
7 Check (match foo as k return foo = k -> True with
8 | true => _
9 | false => _
10 end eq_refl).
11 Abort.