diff options
Diffstat (limited to 'test-suite/modules/resolver.v')
-rw-r--r-- | test-suite/modules/resolver.v | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/test-suite/modules/resolver.v b/test-suite/modules/resolver.v new file mode 100644 index 00000000..dcfcc98d --- /dev/null +++ b/test-suite/modules/resolver.v @@ -0,0 +1,37 @@ +Module Type TA. +Parameter t : Set. +End TA. + +Module Type TB. +Declare Module A: TA. +End TB. + +Module Type TC. +Declare Module B : TB. +End TC. + +Module Type TD. + +Declare Module B: TB . +Declare Module C: TC + with Module B := B . +End TD. + +Module Type TE. +Declare Module D : TD. +End TE. + +Module Type TF. +Declare Module E: TE. +End TF. + +Module G (D: TD). +Module B' := D.C.B. +End G. + +Module H (F: TF). +Module I := G(F.E.D). +End H. + +Declare Module F: TF. +Module K := H(F). |