Debian Codegraph @

test-suite/bugs/bug_3948.v

raw
1 Module Type S.
2 Parameter t : Type.
3 End S.
4
5 Module Bar(X : S).
6 Definition elt := X.t.
7 Axiom fold : elt.
8 End Bar.
9
10 Module Make (Z: S) := Bar(Z).
11
12 Declare Module Y : S.
13
14 Module Type Interface.
15 Parameter constant : unit.
16 End Interface.
17
18 Module DepMap : Interface.
19 Module Dom := Make(Y).
20 Definition constant : unit :=
21 let _ := @Dom.fold in tt.
22 End DepMap.
23
24 Print Assumptions DepMap.constant.