diff tests/open.lac @ 61:48b6d2c3df46

open
author Adam Chlipala <adamc@hcoop.net>
date Sun, 22 Jun 2008 19:34:35 -0400
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/open.lac	Sun Jun 22 19:34:35 2008 -0400
@@ -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