Debian Codegraph @

test-suite/bugs/bug_15403.v

raw
1 Module Type EqType.
2 Parameter Inline t : Type.
3 Parameter eq : t -> t -> Prop.
4 End EqType.
5
6 Module NAT.
7 Definition t := nat.
8 Definition eq := @eq nat.
9 End NAT.
10
11 Module F (E:EqType) :=
12 E.
13
14 Module Import NAT' := F NAT.
15
16 (* NAT'.eq should declared arguments in nat_scope *)
17 Notation "1" := true.
18 Check NAT'.eq 1 1.