Commit 31836e4b authored by Ian Lynagh's avatar Ian Lynagh

Add test for trac #953: panic in ghci for lseek ffi import statement

parent ddc35bcd
......@@ -92,3 +92,5 @@ clean(['ffi015_cbits.o'])
# GHCi can't handle foreign import "&"
test('ffi016', omit_ways(['ghci']), compile_and_run, [''])
test('ffi017', normal, compile_and_run, [''])
-- 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 ()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment