Debian Codegraph @

test-suite/bugs/bug_3923.v

raw
1 Require Corelib.extraction.Extraction.
2
3 Module Type TRIVIAL.
4 Parameter t:Type.
5 End TRIVIAL.
6
7 Module MkStore (Key : TRIVIAL).
8
9 Module St : TRIVIAL.
10 Definition t := unit.
11 End St.
12
13 End MkStore.
14
15
16
17 Module Type CERTRUNTIMETYPES (B : TRIVIAL).
18
19 Parameter cert_fieldstore : Type.
20 Parameter empty_fieldstore : cert_fieldstore.
21
22 End CERTRUNTIMETYPES.
23
24
25
26 Module MkCertRuntimeTypes (B : TRIVIAL) : CERTRUNTIMETYPES B.
27
28 Module FieldStore := MkStore B.
29
30 Definition cert_fieldstore := FieldStore.St.t.
31 Axiom empty_fieldstore : cert_fieldstore.
32
33 End MkCertRuntimeTypes.
34
35 Extraction MkCertRuntimeTypes. (* Was leading to an uncaught Not_found *)
36 Extraction TestCompile MkCertRuntimeTypes.