aboutsummaryrefslogtreecommitdiffstats
path: root/test/cminor/mainmanyargs.c
diff options
context:
space:
mode:
authorxleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2010-02-17 13:24:48 +0000
committerxleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2010-02-17 13:24:48 +0000
commit6f3a9afdda5c02dc84522fc8604addb7e5c8d7df (patch)
tree9b73d1072a2bd168ca04a7441a91d0b341ea0c0f /test/cminor/mainmanyargs.c
parentf6bdc196c093d413c900e38e894682b7b70d4483 (diff)
downloadcompcert-6f3a9afdda5c02dc84522fc8604addb7e5c8d7df.tar.gz
compcert-6f3a9afdda5c02dc84522fc8604addb7e5c8d7df.zip
Moved test harness C files here
git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@1251 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e
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 00000000..36bcf762
--- /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;
+}