summaryrefslogtreecommitdiff
path: root/testsuite/tests/ffi
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2012-02-21 21:46:49 +0000
committerIan Lynagh <igloo@earth.li>2012-02-21 21:46:49 +0000
commit043a7c89b0caa7d46f5233d36d0102bbcbb92202 (patch)
tree0afee6c596aaf9657c7c995c6df7d1ea0c882795 /testsuite/tests/ffi
parentf98922b9f5699b3d03d0b507711efc90ba07fb21 (diff)
downloadhaskell-043a7c89b0caa7d46f5233d36d0102bbcbb92202.tar.gz
Accept output in ccfail004
Newtype handling in FFI decls is no longer relaxed
Diffstat (limited to 'testsuite/tests/ffi')
-rw-r--r--testsuite/tests/ffi/should_fail/ccfail004.stderr11
1 files changed, 11 insertions, 0 deletions
diff --git a/testsuite/tests/ffi/should_fail/ccfail004.stderr b/testsuite/tests/ffi/should_fail/ccfail004.stderr
index 4ae1b0a73f..cce4258911 100644
--- a/testsuite/tests/ffi/should_fail/ccfail004.stderr
+++ b/testsuite/tests/ffi/should_fail/ccfail004.stderr
@@ -1,4 +1,15 @@
+
+ccfail004.hs:9:1:
+ Unacceptable argument type in foreign declaration: NInt
+ When checking declaration:
+ foreign import ccall safe "static f1" f1 :: NInt -> IO Int
+
+ccfail004.hs:10:1:
+ Unacceptable result type in foreign declaration: IO NInt
+ When checking declaration:
+ foreign import ccall safe "static f2" f2 :: Int -> IO NInt
+
ccfail004.hs:11:1:
Unacceptable result type in foreign declaration: NIO Int
When checking declaration: