Files
tinycc/tests
Petr Skocik f85b1e393f Always allow ({ }) in the ctrl-expr of _Generic
tcc would reject e.g.,
    void f(){ struct {_Bool x:_Generic(({0;}),default:1);} my_x; }
with `expected constant`. This patch makes it accept it.

(The patch also makes tcc's _Generic a little more "generic" than that
 of gcc and clang in that that tcc now also accepts
`struct {_Bool x:_Generic(({0;}),default:1);} my_x;` in file scope
while gcc and clang don't, but I think there's no harm in that
and gcc and clang might as well accept it in filescope too, given
that they have no problem with
e.g., `/*filescope:*/int x=1, y=2, z=_Generic(x+y, int:3);`)
2018-11-13 12:51:16 +01:00
..
2018-01-05 02:19:26 +01:00
2017-09-24 18:03:26 -07:00
2017-12-12 17:57:20 +01:00
2017-12-12 17:57:20 +01:00
2017-12-03 04:53:50 +01:00
2016-12-20 18:05:33 +01:00
2016-12-15 17:47:08 +01:00
2016-10-01 20:27:41 +02:00