diff options
| author | grischka <grischka> | 2011-07-16 15:53:30 +0200 |
|---|---|---|
| committer | grischka <grischka> | 2011-07-16 15:53:30 +0200 |
| commit | d7d845888808da6191ab6a70942fac6e3eb815ea (patch) | |
| tree | b0ae42c05a41200e0cd4c0359eac85549aac3fa3 /tests/tcctest.c | |
| parent | adc80009c8cc71f5dc01192ea116e9d97f417767 (diff) | |
| download | tinycc-d7d845888808da6191ab6a70942fac6e3eb815ea.tar.gz tinycc-d7d845888808da6191ab6a70942fac6e3eb815ea.tar.bz2 | |
Revert "better constant handling for expr_cond"
It produced wrong code with one of my test projects.
This reverts commit cd3d1a45f34be3c9a358f1743bcaf8aac897992e.
Diffstat (limited to 'tests/tcctest.c')
| -rw-r--r-- | tests/tcctest.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/tcctest.c b/tests/tcctest.c index 92f239e..3581a7a 100644 --- a/tests/tcctest.c +++ b/tests/tcctest.c @@ -2083,8 +2083,6 @@ void *bounds_checking_is_enabled() return (ca != cp + 1) ? cp : NULL; } -typedef int constant_negative_array_size_as_compile_time_assertion_idiom[(1 ? 2 : 0) - 1]; - void c99_vla_test(int size1, int size2) { #if defined __i386__ || defined __x86_64__ |
