diff options
author | Ian Lynagh <igloo@earth.li> | 2012-02-21 21:46:49 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2012-02-21 21:46:49 +0000 |
commit | 043a7c89b0caa7d46f5233d36d0102bbcbb92202 (patch) | |
tree | 0afee6c596aaf9657c7c995c6df7d1ea0c882795 /testsuite/tests/ffi | |
parent | f98922b9f5699b3d03d0b507711efc90ba07fb21 (diff) | |
download | haskell-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.stderr | 11 |
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: |