aboutsummaryrefslogtreecommitdiffstats
path: root/test/mppa/interop/i_manyiargs.c
diff options
context:
space:
mode:
authorCyril SIX <cyril.six@kalray.eu>2018-11-23 18:06:26 +0100
committerCyril SIX <cyril.six@kalray.eu>2018-11-23 18:06:26 +0100
commitf17faa9e318cb6e6c75b3c22387f13e57a9828f7 (patch)
tree9bd29c4d2b7a5f2bc4a782656318c69cf67abdde /test/mppa/interop/i_manyiargs.c
parent0b9d1deb832dc93ce381f15f8e9774973f45e56e (diff)
downloadcompcert-kvx-f17faa9e318cb6e6c75b3c22387f13e57a9828f7.tar.gz
compcert-kvx-f17faa9e318cb6e6c75b3c22387f13e57a9828f7.zip
Interoperability tests passed (no va_arg yet)
Diffstat (limited to 'test/mppa/interop/i_manyiargs.c')
-rw-r--r--test/mppa/interop/i_manyiargs.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/mppa/interop/i_manyiargs.c b/test/mppa/interop/i_manyiargs.c
new file mode 100644
index 00000000..d674c26f
--- /dev/null
+++ b/test/mppa/interop/i_manyiargs.c
@@ -0,0 +1,9 @@
+#include "framework.h"
+#include "common.h"
+
+BEGIN_TEST(int)
+ c = i_manyiargs(a, b, a-b, a+b, a*2, b*2, a*2-b, a+b*2, (a-b)*2, (a+b)*2,
+ -2*a, -2*b, a-b, a+b, a*3, b*3, a*3-b, a+b*3, (a-b)*3, (a+b)*3,
+ -3*a, -3*b, a-b, a+b, a*4, b*4, a*4-b, a+b*4, (a-b)*4, (a+b)*4);
+END_TEST()
+