summaryrefslogtreecommitdiff
path: root/tests/ffi.lac
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ffi.lac')
-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