summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-regress/ffi/should_fail/ccfail002.hs
blob: 977faa2f7c6f2119b69e5e06dbbc3bd9854d1aa7 (plain)
1
2
3
4
5
6
7
8
9
10
11

{-# LANGUAGE ForeignFunctionInterface, UnboxedTuples, MagicHash, UnliftedFFITypes #-}

-- Test for Trac #1680

module ShouldFail where

import GHC.Exts

foreign import ccall unsafe "foo" 
	foo :: Int# -> Int# -> Int# -> (# Int# , Int#, Int# #)