aboutsummaryrefslogtreecommitdiff
path: root/test-suite/modules/ind.v
blob: 61f7201792d5c9f7e3b392f50ce33498b6991c00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Module Type SIG.
  Inductive w:Set:=A:w.
  Definition f : w->w.
End SIG.

Module M:SIG.
  Inductive w:Set:=A:w.
  Definition f:=[x]Cases x of A => A end.
End M.

Module N:=M.

Check (N.f M.A).