Debian Codegraph @

test-suite/output/bug_10739.v

raw
1 Require Extraction.
2
3 Definition f := 0.
4 Module M.
5 Recursive Extraction f.
6 Extraction f.
7
8 Definition g := f.
9 Recursive Extraction g.
10 Extraction g.
11
12 Module Type S. Definition b := 0. End S.
13
14 (* Test with sealed module *)
15 Module N : S.
16 Definition b := 0.
17 Definition h := g.
18 Recursive Extraction h.
19 Extraction h.
20 End N.
21
22 (* Test with a functor *)
23 Module F (X:S).
24 Definition h := g + X.b.
25 Recursive Extraction h.
26 Extraction h.
27 End F.
28
29 (* Test elsewhere *)
30 Recursive Extraction nat.
31 Extraction nat.
32
33 Module Type T.
34 Definition foo := 0.
35 Extraction foo.
36 End T.
37
38 End M.