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

{-# LANGUAGE ForeignFunctionInterface, MagicHash #-}

-- Trac #1037 

module Foo where

import GHC.Prim

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