diff options
Diffstat (limited to 'testsuite/tests/ffi/should_fail/ccfail001.hs')
-rw-r--r-- | testsuite/tests/ffi/should_fail/ccfail001.hs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/tests/ffi/should_fail/ccfail001.hs b/testsuite/tests/ffi/should_fail/ccfail001.hs new file mode 100644 index 0000000000..cd8eb83665 --- /dev/null +++ b/testsuite/tests/ffi/should_fail/ccfail001.hs @@ -0,0 +1,10 @@ + +{-# LANGUAGE ForeignFunctionInterface, MagicHash #-} + +-- Trac #1037 + +module Foo where + +import GHC.Prim + +foreign import ccall foo :: Int -> State# RealWorld |