summaryrefslogtreecommitdiff
path: root/testsuite/tests/ffi/should_compile/cc010.hs
blob: dd34730d4239a84f37e7cba744a4cc46c8a67d5c (plain)
1
2
3
4
5
module ShouldCompile where
import Foreign
foreign import ccall "dynamic" imp :: Ptr () -> Int
f1 a = imp a + 1
f2 a = imp a + 2