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