summaryrefslogtreecommitdiff
path: root/test/cminor/mainmanyargs.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/cminor/mainmanyargs.c')
-rw-r--r--test/cminor/mainmanyargs.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/cminor/mainmanyargs.c b/test/cminor/mainmanyargs.c
new file mode 100644
index 0000000..36bcf76
--- /dev/null
+++ b/test/cminor/mainmanyargs.c
@@ -0,0 +1,13 @@
+#include <stdio.h>
+
+void print_int(int n) { printf("%d\n", n); }
+void print_float(double n) { printf("%g\n", n); }
+
+extern void g(int,int,int,int,int,
+ double,double,double,double,double);
+
+int main()
+{
+ g(1,2,3,4,5, 0.1,0.2,0.3,0.4,0.5);
+ return 0;
+}