hackport-0.6.3: cabal/cabal-testsuite/PackageTests/ForeignLibs/src/MyForeignLib/Export.hs
{-# LANGUAGE ForeignFunctionInterface #-}
module MyForeignLib.Export
( foo ) where
foo :: Int -> Int
foo x = x + 1
foreign export ccall foo :: Int -> Int
{-# LANGUAGE ForeignFunctionInterface #-}
module MyForeignLib.Export
( foo ) where
foo :: Int -> Int
foo x = x + 1
foreign export ccall foo :: Int -> Int