summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2008-06-22 09:27:29 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2008-06-22 09:27:29 -0400
commita78e978c05d7d28f31f4407b6918d89d44a5643c (patch)
tree29f8a7dd372a3fd5fa14b1960e5b3917c6aa1e50 /tests
parent79223408d7b3ce19f0463142461d84a1ad09d785 (diff)
Start of FFI
Diffstat (limited to 'tests')
-rw-r--r--tests/ffi.lac12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/ffi.lac b/tests/ffi.lac
new file mode 100644
index 00000000..edd6e57b
--- /dev/null
+++ b/tests/ffi.lac
@@ -0,0 +1,12 @@
+extern structure Lib : sig
+ type t
+ val x : t
+end
+
+type t' = Lib.t
+val x' : t' = Lib.x
+
+structure Lib' = Lib
+
+type t'' = Lib'.t
+val x'' : t'' = Lib'.x