aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDavid Monniaux <david.monniaux@univ-grenoble-alpes.fr>2021-09-17 14:58:15 +0200
committerDavid Monniaux <david.monniaux@univ-grenoble-alpes.fr>2021-09-17 14:58:15 +0200
commita0e65a68988bb3ab51e17a767cdc578b0eb8ff07 (patch)
tree3ae0ac70908c6609fe91e008efb0ee75757dd7b7 /test
parent3f1e14c6a2ad8403dcaf55ba3b060e99fb7d8bdd (diff)
parent613848182d167782fa5ee383b0e73b87e5ef1351 (diff)
downloadcompcert-kvx-a0e65a68988bb3ab51e17a767cdc578b0eb8ff07.tar.gz
compcert-kvx-a0e65a68988bb3ab51e17a767cdc578b0eb8ff07.zip
Merge remote-tracking branch 'origin/kvx-work' into csmith
Diffstat (limited to 'test')
-rw-r--r--test/monniaux/codegen/comp0.c3
-rw-r--r--test/regression/Makefile2
-rw-r--r--test/regression/Results/many_parameters1
-rw-r--r--test/regression/many_parameters.c (renamed from test/monniaux/params/call_many.c)0
4 files changed, 5 insertions, 1 deletions
diff --git a/test/monniaux/codegen/comp0.c b/test/monniaux/codegen/comp0.c
new file mode 100644
index 00000000..60f8ba77
--- /dev/null
+++ b/test/monniaux/codegen/comp0.c
@@ -0,0 +1,3 @@
+int toto(unsigned x) {
+ return (x < 0) ? 1 : 2;
+}
diff --git a/test/regression/Makefile b/test/regression/Makefile
index 9661a99e..0f9e368f 100644
--- a/test/regression/Makefile
+++ b/test/regression/Makefile
@@ -18,7 +18,7 @@ TESTS?=int32 int64 floats floats-basics floats-lit \
funct3 expr5 struct7 struct8 struct11 struct12 casts1 casts2 char1 \
sizeof1 sizeof2 binops bool for1 for2 switch switch2 compound \
decl1 bitfields9 ptrs3 \
- parsing krfun ifconv
+ parsing krfun ifconv many_parameters
# Can run, but only in compiled mode, and have reference output in Results
diff --git a/test/regression/Results/many_parameters b/test/regression/Results/many_parameters
new file mode 100644
index 00000000..838cfd7e
--- /dev/null
+++ b/test/regression/Results/many_parameters
@@ -0,0 +1 @@
+1780
diff --git a/test/monniaux/params/call_many.c b/test/regression/many_parameters.c
index 4d2529c0..4d2529c0 100644
--- a/test/monniaux/params/call_many.c
+++ b/test/regression/many_parameters.c