summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2008-07-24 15:49:30 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2008-07-24 15:49:30 -0400
commita579d98b69649309caaf6315910813aba36fe905 (patch)
tree115627f9af3bafbad40cf823df9f1db5c8e270e2 /tests
parent92af3391b64df0a2082006c39ed1335dd1bf7256 (diff)
Basic datatype importing works
Diffstat (limited to 'tests')
-rw-r--r--tests/datatypeMod.lac8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/datatypeMod.lac b/tests/datatypeMod.lac
new file mode 100644
index 00000000..558275c8
--- /dev/null
+++ b/tests/datatypeMod.lac
@@ -0,0 +1,8 @@
+structure M : sig datatype t = A | B end = struct
+ datatype t = A | B
+end
+
+datatype u = datatype M.t
+
+val a : M.t = A
+val a2 : u = a