Make fn designators in ?: decay to ptrs
commit49dfb5755adb04588366f02fa73ad566490ebdbb
authorPetr Skocik <pskocik@gmail.com>
Thu, 29 Nov 2018 11:43:01 +0000 (29 12:43 +0100)
committerPetr Skocik <pskocik@gmail.com>
Thu, 29 Nov 2018 11:43:01 +0000 (29 12:43 +0100)
tree2a01eb7e7ad5a932e483dc8ad5b1ed98936530bd
parent3058d4116e73062ee2029ad20ecc6f3c3f736915
Make fn designators in ?: decay to ptrs

This
    _Generic((__typeof(1?f:f)*){0}, void (**)(void): (void)0);
should compile like it does in gcc and clang.
tccgen.c
tests/tests2/33_ternary_op.c