Fix incorrect one-sided void handling in ?:
commitf7779efe58520fa735f550651d003f09dce9b684
authorPetr Skocik <pskocik@gmail.com>
Thu, 29 Nov 2018 12:40:48 +0000 (29 13:40 +0100)
committerPetr Skocik <pskocik@gmail.com>
Thu, 29 Nov 2018 12:40:48 +0000 (29 13:40 +0100)
treec15943a8a919e56314f4ec35292dfb5a10f51f0f
parent49dfb5755adb04588366f02fa73ad566490ebdbb
Fix incorrect one-sided void handling in ?:

Also make the case when one side in ?: is a ptr
and the other is neither a ptr nor a null-ptr constant
fail cleanly instead of segfaulting.
tccgen.c
tests/tests2/33_ternary_op.c