Debian Codegraph @

test-suite/bugs/bug_15838.v

raw
1 Module Type S.
2
3 Unset Elimination Schemes.
4
5 Inductive T (A : Type) : Type := box : A -> T A.
6
7 End S.
8
9 Module F (X : S).
10
11 Definition unbox {A} (x : X.T A) : A :=
12 match x with X.box _ x => x end.
13
14 End F.
15
16 Module M.
17
18 Inductive T (A : Type) : Prop := box : A -> T A.
19
20 End M.
21
22 Fail Module N := F(M).