summaryrefslogtreecommitdiff
path: root/testsuite/tests/ffi/should_fail/ccfail001.stderr
blob: 813c5d187c6dea1d1d2f4bbc986aab6cb0ec3b5a (plain)
1
2
3
4
5
6

ccfail001.hs:10:1:
    Unacceptable result type in foreign declaration: State# RealWorld
    When checking declaration:
        foreign import ccall safe "static foo" foo
          :: Int -> State# RealWorld