summaryrefslogtreecommitdiff
path: root/testsuite/tests/ffi/should_fail/ccfail003.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/ffi/should_fail/ccfail003.stderr')
-rw-r--r--testsuite/tests/ffi/should_fail/ccfail003.stderr8
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/tests/ffi/should_fail/ccfail003.stderr b/testsuite/tests/ffi/should_fail/ccfail003.stderr
new file mode 100644
index 0000000000..7933b8c48e
--- /dev/null
+++ b/testsuite/tests/ffi/should_fail/ccfail003.stderr
@@ -0,0 +1,8 @@
+
+ccfail003.hs:7:1:
+ Unacceptable argument type in foreign declaration: Int#
+ When checking declaration: foreign export ccall "foo" foo :: Int# -> IO ()
+
+ccfail003.hs:10:1:
+ Unacceptable result type in foreign declaration: Int#
+ When checking declaration: foreign export ccall "bar" bar :: Int -> Int#