summaryrefslogtreecommitdiff
path: root/testsuite/tests/ffi/should_fail/ccfail003.stderr
blob: 4ce9db572d0faf804474153aef9ca0d7b19a53f0 (plain)
1
2
3
4
5
6
7
8
9
10

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#