summaryrefslogtreecommitdiff
path: root/testsuite/tests/dynlibs/T4464H.hs
blob: e3b511a63ee4ebb5e2cf6a2bd2655ec0b4a905fd (plain)
1
2
3
4
5
6
7
{-# LANGUAGE ForeignFunctionInterface #-}
module T4464H where

f :: Int -> Int
f x = x + 1

foreign export ccall f :: Int -> Int