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