summaryrefslogtreecommitdiff
path: root/testsuite/tests/ffi/should_run/T12134.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/ffi/should_run/T12134.hs')
-rw-r--r--testsuite/tests/ffi/should_run/T12134.hs8
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/tests/ffi/should_run/T12134.hs b/testsuite/tests/ffi/should_run/T12134.hs
new file mode 100644
index 0000000000..f07d892b19
--- /dev/null
+++ b/testsuite/tests/ffi/should_run/T12134.hs
@@ -0,0 +1,8 @@
+import Foreign.C.Types
+
+foreign import ccall "many_floats" many :: CFloat -> CFloat ->
+ CFloat -> CFloat -> CFloat -> CFloat -> CFloat -> CFloat ->
+ CFloat -> CFloat -> CFloat -> CFloat -> CFloat -> CFloat ->
+ CDouble -> IO ()
+
+main = many 1.5 2.5 3.5 4.5 5.5 6.5 7.5 8.5 9.5 10.5 11.5 12.5 13.5 14.5 15.5