diff options
Diffstat (limited to 'testsuite/tests/dynlibs/T13702.hs')
-rw-r--r-- | testsuite/tests/dynlibs/T13702.hs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/tests/dynlibs/T13702.hs b/testsuite/tests/dynlibs/T13702.hs new file mode 100644 index 0000000000..5af4085c03 --- /dev/null +++ b/testsuite/tests/dynlibs/T13702.hs @@ -0,0 +1,9 @@ +{-# LANGUAGE ForeignFunctionInterface #-} + +main :: IO () +main = putStrLn "hello world" + +foreign export ccall "hello" hello :: IO () + +hello :: IO () +hello = putStrLn "hello world again" |