mirror of
https://github.com/frida/tinycc
synced 2024-11-24 16:49:44 +03:00
9e86ebee94
For union U { struct {int a,b}; int c; }; union U u = {{ 1, 2, }}; The unnamed first member of union U needs to actually exist in the structure so initializer parsing isn't confused about the double braces. That means also the a and b members must be part of _that_, not of union U directly. Which in turn means we need to do a bit more work for field lookup. See the testcase extension for more things that need to work. |
||
---|---|---|
.. | ||
pp | ||
tests2 | ||
abitest.c | ||
asmtest.S | ||
boundtest.c | ||
gcctestsuite.sh | ||
libtcc_test.c | ||
Makefile | ||
tcctest.c | ||
tcctest.h | ||
tcctest.py | ||
testfp.c | ||
vla_test.c |