summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adam@chlipala.net>2015-08-27 16:28:45 -0400
committerGravatar Adam Chlipala <adam@chlipala.net>2015-08-27 16:28:45 -0400
commit03f1d80a665c4de6fd83ff6dc9399dda97838efa (patch)
treef018764e819b01a26b8f89a83773d76f2cfad44e /tests
parent98230036ecde51e20e749f8817d11215d4b74265 (diff)
Proper error message for excessively fancy FFI signatures
Diffstat (limited to 'tests')
-rw-r--r--tests/empty.ur0
-rw-r--r--tests/ffisub.urp3
-rw-r--r--tests/ffisub.urs5
3 files changed, 8 insertions, 0 deletions
diff --git a/tests/empty.ur b/tests/empty.ur
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/tests/empty.ur
diff --git a/tests/ffisub.urp b/tests/ffisub.urp
new file mode 100644
index 00000000..b695bad1
--- /dev/null
+++ b/tests/ffisub.urp
@@ -0,0 +1,3 @@
+ffi ffisub
+
+empty
diff --git a/tests/ffisub.urs b/tests/ffisub.urs
new file mode 100644
index 00000000..ce245884
--- /dev/null
+++ b/tests/ffisub.urs
@@ -0,0 +1,5 @@
+structure S : sig
+ type t
+end
+
+val x : S.t