summaryrefslogtreecommitdiff
path: root/testsuite/tests/driver/Static001.hs
blob: 43056f2aca07ef0244a4288704415f8454d89c4a (plain)
1
2
3
4
5
{-# LANGUAGE ForeignFunctionInterface #-}
module Static001 where
foreign export ccall f :: Int -> Int
f :: Int -> Int
f n = n + 1