scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | Submodules | README | LICENSE

commit 6e9d1522e50e81ab34916a0cf02fd838db7771c8
parent d5e80faa2bd461ee5c53ea81329347cb8a530369
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Sat, 18 Jun 2022 09:42:55 +0200

tests/cc: Add 0209-dowhile.c

Diffstat:
Atests/cc/execute/0209-dowhile.c | 9+++++++++
Mtests/cc/execute/scc-tests.lst | 1+
2 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/tests/cc/execute/0209-dowhile.c b/tests/cc/execute/0209-dowhile.c @@ -0,0 +1,9 @@ +int +main(void) +{ + if (1) + do { } while(0); + else + do { } while(0); + return 0; +} diff --git a/tests/cc/execute/scc-tests.lst b/tests/cc/execute/scc-tests.lst @@ -199,3 +199,4 @@ 0206-initializer.c 0207-structcb.c 0208-sizeof.c +0209-dowhile.c