Debian Codegraph @

test-suite/bugs/bug_12529.v

raw
1 Goal SProp.
2 match goal with |- SProp => idtac end.
3 Fail match goal with |- Prop => idtac end.
4 Abort.
5
6 Goal Prop.
7 Fail match goal with |- SProp => idtac end.
8 match goal with |- Prop => idtac end.
9 Abort.
10
11 Class F A := f : A.
12
13 Inductive pFalse : Prop := .
14 Inductive sFalse : SProp := .
15
16 #[export] Hint Extern 0 (F Prop) => exact pFalse : typeclass_instances.
17 Definition pf := f : Prop.
18
19 #[export] Hint Extern 0 (F SProp) => exact sFalse : typeclass_instances.
20 Definition sf := (f : SProp).
21 Definition pf' := (f : Prop).