summaryrefslogtreecommitdiff
path: root/testsuite/tests/ffi/should_compile/cc007.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/ffi/should_compile/cc007.hs')
-rw-r--r--testsuite/tests/ffi/should_compile/cc007.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/tests/ffi/should_compile/cc007.hs b/testsuite/tests/ffi/should_compile/cc007.hs
new file mode 100644
index 0000000000..99337cc37f
--- /dev/null
+++ b/testsuite/tests/ffi/should_compile/cc007.hs
@@ -0,0 +1,4 @@
+-- !!! cc007 -- foreign import with external name equal to Haskell name.
+module ShouldCompile where
+
+foreign import ccall sine :: Double -> Double