1 2 3 4 5 6 7 8 9 10
{-# LANGUAGE ForeignFunctionInterface #-} module T18072 where import Foreign.C foo :: IO CInt foo = return 3 foreign export ccall foo :: IO CInt