scc

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

commit bf2d775f3284ae93e73f72220c5fb808cfe10b32
parent 193dfc1ff97b3b06883d6e27a5fc46c08b4a4b0b
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Thu, 20 Oct 2022 19:11:09 +0200

tests: Add 0211-enum.c

Diffstat:
Atests/cc/execute/0211-enum.c | 7+++++++
Mtests/cc/execute/scc-tests.lst | 1+
2 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/tests/cc/execute/0211-enum.c b/tests/cc/execute/0211-enum.c @@ -0,0 +1,7 @@ +int main() +{ + for (struct {enum {A, B} a;} a = {0}; 0;) + ; + + return 0; +} diff --git a/tests/cc/execute/scc-tests.lst b/tests/cc/execute/scc-tests.lst @@ -201,3 +201,4 @@ 0208-sizeof.c 0209-dowhile.c 0210-flexible.c +0211-enum.c