scc

simple C compiler
git clone git://git.2f30.org/scc
Log | Files | Refs | README | LICENSE

commit 83641b5afb00ef76a2b397a2591a705dd1488c7f
parent 080e69990174ad65f1611d8169a6b1f0f03414ea
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Fri, 14 Aug 2015 18:23:39 +0200

Add correct output for TEST003

stateless take a look that it even optimize out
the ternary operator.

Diffstat:
Mcc1/tests/test003.c | 16++++++++++++++++
1 file changed, 16 insertions(+), 0 deletions(-)

diff --git a/cc1/tests/test003.c b/cc1/tests/test003.c @@ -2,6 +2,22 @@ name: TEST003 description: Select function to call inside ternary operator output: +F1 +X1 F1 foo +G1 F1 foo { +- + yI #I2A +} +X2 F1 bar +G2 F1 bar { +- + yI #I18 +} +X3 F1 main +G3 F1 main { +- + yI G1 cI +} */ int