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