aboutsummaryrefslogtreecommitdiff
path: root/tests/tests2/74_nocode_wanted.c
diff options
context:
space:
mode:
authorThomas Preud'homme <robotux@celest.fr>2015-03-10 23:23:00 +0800
committerThomas Preud'homme <robotux@celest.fr>2015-03-10 23:27:14 +0800
commit5bcc3eed7b93f5e75b0bb121913f84f574b7c46a (patch)
tree0fbe82b6df225a8b9d155f24f4b5ebbad1acfa46 /tests/tests2/74_nocode_wanted.c
parent68605ab4d41fedf6f13e58a81ef75913e8544387 (diff)
downloadtinycc-5bcc3eed7b93f5e75b0bb121913f84f574b7c46a.tar.gz
tinycc-5bcc3eed7b93f5e75b0bb121913f84f574b7c46a.tar.bz2
Add some missing nocode_wanted guard
int i = i++ causes a segfault because of missing guard. Looking recursively at all backend functions called from middle end several more guard appeared to be missing.
Diffstat (limited to 'tests/tests2/74_nocode_wanted.c')
-rw-r--r--tests/tests2/74_nocode_wanted.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/tests2/74_nocode_wanted.c b/tests/tests2/74_nocode_wanted.c
new file mode 100644
index 0000000..e824d02
--- /dev/null
+++ b/tests/tests2/74_nocode_wanted.c
@@ -0,0 +1 @@
+int i = i++;