diff options
Diffstat (limited to 'testsuite/tests/ffi/should_run/ffi017.hs')
-rw-r--r-- | testsuite/tests/ffi/should_run/ffi017.hs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/testsuite/tests/ffi/should_run/ffi017.hs b/testsuite/tests/ffi/should_run/ffi017.hs new file mode 100644 index 0000000000..de9a1c4295 --- /dev/null +++ b/testsuite/tests/ffi/should_run/ffi017.hs @@ -0,0 +1,13 @@ + +-- Test for trac #953 + +module Main where + +import System.Posix.Types +import Foreign.C + +foreign import ccall safe "unistd.h lseek" foo :: CInt -> COff -> CInt -> IO COff + +main :: IO () +main = return () + |