summaryrefslogtreecommitdiff
path: root/testsuite/tests/ffi/should_fail/ccfail001.hs
blob: 0b7d5e8c7fc4c95ce924d6a186171e75fae54d8a (plain)
1
2
3
4
5
6
7
8
9
10

{-# LANGUAGE ForeignFunctionInterface, MagicHash #-}

-- #1037 

module Foo where

import GHC.Prim

foreign import ccall foo :: Int -> State# RealWorld