summaryrefslogtreecommitdiff
path: root/testsuite/tests/ffi/should_run/1288_ghci.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/ffi/should_run/1288_ghci.hs')
-rw-r--r--testsuite/tests/ffi/should_run/1288_ghci.hs6
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/tests/ffi/should_run/1288_ghci.hs b/testsuite/tests/ffi/should_run/1288_ghci.hs
new file mode 100644
index 0000000000..8b3a8f8417
--- /dev/null
+++ b/testsuite/tests/ffi/should_run/1288_ghci.hs
@@ -0,0 +1,6 @@
+import Foreign
+import Foreign.C
+
+foreign import stdcall "test" ctest :: CInt -> IO ()
+
+main = ctest 3