diff tests/ffi.lac @ 48:0a5c312de09a

Start of FFI
author Adam Chlipala <adamc@hcoop.net>
date Sun, 22 Jun 2008 09:27:29 -0400
parents
children 874e877d2c51
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/ffi.lac	Sun Jun 22 09:27:29 2008 -0400
@@ -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