aboutsummaryrefslogtreecommitdiffstats
path: root/test/harness/mainmanyargs.c
diff options
context:
space:
mode:
authorxleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2006-02-09 14:55:48 +0000
committerxleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2006-02-09 14:55:48 +0000
commit2ae43be7b9d4118335c9d2cef6e098f9b9f807fe (patch)
treebbb5e49ccbf7e3614966571acc317f8d318fecad /test/harness/mainmanyargs.c
downloadcompcert-2ae43be7b9d4118335c9d2cef6e098f9b9f807fe.tar.gz
compcert-2ae43be7b9d4118335c9d2cef6e098f9b9f807fe.zip
Initial import of compcert
git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@1 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e
Diffstat (limited to 'test/harness/mainmanyargs.c')
-rw-r--r--test/harness/mainmanyargs.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/harness/mainmanyargs.c b/test/harness/mainmanyargs.c
new file mode 100644
index 00000000..36bcf762
--- /dev/null
+++ b/test/harness/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;
+}