Debian Codegraph @

test-suite/bugs/bug_2750.v

raw
1
2 Module Type ModWithRecord.
3
4 Record foo : Type :=
5 { A : nat
6 ; B : nat
7 }.
8 End ModWithRecord.
9
10 Module Test_ModWithRecord (M : ModWithRecord).
11
12 Definition test1 : M.foo :=
13 {| M.A := 0
14 ; M.B := 2
15 |}.
16
17 Module B := M.
18
19 Definition test2 : M.foo :=
20 {| M.A := 0
21 ; M.B := 2
22 |}.
23 End Test_ModWithRecord.