Debian Codegraph @

test-suite/bugs/bug_21707.v

raw
1 Module Type T.
2 Parameter t : Type.
3 End T.
4
5 Module F(X:T with Definition t := nat).
6 End F.
7
8 Module N.
9 Definition t : Type := nat.
10 End N.
11
12 (** Check that the type of [X:T with Definition t := nat] is
13 the largest type rather than the smallest type, i.e. it
14 has field [Definition t : Type := nat] rather than
15 [Definition t : Set := nat.] *)
16 Module FN := F N.