aboutsummaryrefslogtreecommitdiffhomepage
path: root/test-suite
diff options
context:
space:
mode:
authorGravatar soubiran <soubiran@85f007b7-540e-0410-9357-904b9bb8a0f7>2007-05-25 14:09:16 +0000
committerGravatar soubiran <soubiran@85f007b7-540e-0410-9357-904b9bb8a0f7>2007-05-25 14:09:16 +0000
commitdb50dfc5e752f7209c10256d8af86f24677221d1 (patch)
tree2d8a83920fd34564ef67eb9cf5346929804fb1a2 /test-suite
parent05f82490b2870241d3b80c288cd876117deadea0 (diff)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@9859 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'test-suite')
-rw-r--r--test-suite/modules/resolver.v37
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 000000000..dcfcc98d5
--- /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).