summaryrefslogtreecommitdiff
path: root/testsuite/tests/ffi/should_compile/T3624.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/ffi/should_compile/T3624.hs')
-rw-r--r--testsuite/tests/ffi/should_compile/T3624.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/tests/ffi/should_compile/T3624.hs b/testsuite/tests/ffi/should_compile/T3624.hs
new file mode 100644
index 0000000000..8f42efc055
--- /dev/null
+++ b/testsuite/tests/ffi/should_compile/T3624.hs
@@ -0,0 +1,4 @@
+{-# LANGUAGE ForeignFunctionInterface #-}
+module Test where
+
+foreign import ccall "path/to/foo.h foo" foo :: Int -> IO Float