aboutsummaryrefslogtreecommitdiffstats
path: root/test/monniaux/regalloc
diff options
context:
space:
mode:
authorDavid Monniaux <david.monniaux@univ-grenoble-alpes.fr>2019-02-06 18:45:04 +0100
committerDavid Monniaux <david.monniaux@univ-grenoble-alpes.fr>2019-02-06 18:45:04 +0100
commite8b35c4b975a46a5dc5e0c022897359cbfe2d72b (patch)
tree63eefc37ce7964ffbfdc847dabe8e59e5894b540 /test/monniaux/regalloc
parent5ad25465f77c3009eaff7e9a124c254c1e9f33cd (diff)
downloadcompcert-kvx-e8b35c4b975a46a5dc5e0c022897359cbfe2d72b.tar.gz
compcert-kvx-e8b35c4b975a46a5dc5e0c022897359cbfe2d72b.zip
Makefiles now use rules.mk, and added a prohibition of unprototyped functions
Diffstat (limited to 'test/monniaux/regalloc')
-rw-r--r--test/monniaux/regalloc/invalid_register_allocation2.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/monniaux/regalloc/invalid_register_allocation2.c b/test/monniaux/regalloc/invalid_register_allocation2.c
new file mode 100644
index 00000000..88a8e184
--- /dev/null
+++ b/test/monniaux/regalloc/invalid_register_allocation2.c
@@ -0,0 +1,7 @@
+extern void toto(int, double);
+
+void
+report (int x)
+{
+ toto (1, x/ 10.0);
+}