aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2008-06-22 19:34:35 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2008-06-22 19:34:35 -0400
commit911980c1969a852451085577ebcc002f264c7ffa (patch)
tree65cd3033a1c8bdca60de9ea17b8ed35b1b843071 /tests
parentc329cf497908879f592308fdd1d20a5b631ca2df (diff)
open
Diffstat (limited to 'tests')
-rw-r--r--tests/open.lac20
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/open.lac b/tests/open.lac
new file mode 100644
index 00000000..47f81219
--- /dev/null
+++ b/tests/open.lac
@@ -0,0 +1,20 @@
+structure S = struct
+ type t = int
+ val x = 0
+
+ structure S' : sig type u val y : t end = struct
+ type u = t
+ val y = x
+ end
+
+ signature Sig = sig
+ type t
+ val x : t
+ end
+end
+
+open S.S'
+open S
+open S'
+
+structure S' : Sig = S