Debian Codegraph @

test-suite/failure/subtyping.v

raw
1 (* A variant of bug #1302 that must fail *)
2
3 Module Type T.
4
5 Parameter A : Type.
6
7 Inductive L : Prop :=
8 | L0
9 | L1 : (A -> Prop) -> L.
10
11 End T.
12
13 Module TT : T.
14
15 Parameter A : Type.
16
17 Inductive L : Type :=
18 | L0
19 | L1 : (A -> Prop) -> L.
20
21 Fail End TT.
22
23 Reset L.
24 Inductive L : Prop :=
25 | L0
26 | L1 : (A -> Prop) -> L.
27
28 End TT.