diff options
Diffstat (limited to 'testsuite/tests/ffi/should_run/1288_ghci_c.c')
-rw-r--r-- | testsuite/tests/ffi/should_run/1288_ghci_c.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/tests/ffi/should_run/1288_ghci_c.c b/testsuite/tests/ffi/should_run/1288_ghci_c.c new file mode 100644 index 0000000000..f240d29529 --- /dev/null +++ b/testsuite/tests/ffi/should_run/1288_ghci_c.c @@ -0,0 +1,6 @@ +#include <stdio.h>
+
+void __attribute__((stdcall)) test(int arg)
+{
+ printf("The argument passed was %i\n", arg );
+}
|