summaryrefslogtreecommitdiff
path: root/tests/ffi.lac
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2008-06-22 10:00:25 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2008-06-22 10:00:25 -0400
commit197464e083280200927182432789b7b0b92e8f8c (patch)
treef050f19d2ec39d15c3bc409c965970c010c832be /tests/ffi.lac
parenta78e978c05d7d28f31f4407b6918d89d44a5643c (diff)
Detecting FFI functions
Diffstat (limited to 'tests/ffi.lac')
-rw-r--r--tests/ffi.lac5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/ffi.lac b/tests/ffi.lac
index edd6e57b..35a4ff63 100644
--- a/tests/ffi.lac
+++ b/tests/ffi.lac
@@ -1,10 +1,15 @@
extern structure Lib : sig
type t
+ type u
val x : t
+ val f1 : t -> t
+ val f2 : t -> u -> t
end
type t' = Lib.t
val x' : t' = Lib.x
+val f1' = Lib.f1
+val f2' = Lib.f2
structure Lib' = Lib