diff options
| author | herbelin | 2004-12-09 13:47:03 +0000 |
|---|---|---|
| committer | herbelin | 2004-12-09 13:47:03 +0000 |
| commit | 7d78cf9acda678659064a12af5cdd31430b7fc3c (patch) | |
| tree | e67788aace7df595af2e602d6b668cf715f5a0a7 /test-suite/output/TranspModtype.v8 | |
| parent | 47ed51985ad5ab4bb77092beebdc5fe30d3d453b (diff) | |
Ajout d'une version nouvelle syntaxe
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@6451 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'test-suite/output/TranspModtype.v8')
| -rw-r--r-- | test-suite/output/TranspModtype.v8 | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/test-suite/output/TranspModtype.v8 b/test-suite/output/TranspModtype.v8 new file mode 100644 index 0000000000..27a1dff067 --- /dev/null +++ b/test-suite/output/TranspModtype.v8 @@ -0,0 +1,22 @@ +Module Type SIG. + Axiom A : Set. + Axiom B : Set. +End SIG. + +Module M : SIG. + Definition A := nat. + Definition B := nat. +End M. + +Module N <: SIG := M. + +Module TranspId (X: SIG) <: SIG with Definition A := X.A := X. +Module OpaqueId (X: SIG) : SIG with Definition A := X.A := X. + +Module TrM := TranspId M. +Module OpM := OpaqueId M. + +Print TrM.A. +Print OpM.A. +Print TrM.B. +Print OpM.B.
\ No newline at end of file |
