tinycc/tests/tests2/33_ternary_op.expect
Michael Matz 38ab621b55 Factor out common type combination
as there's overlap between handling types for binary and ternay
operations.  Factor this into a single routine (combine_types).
This uses the structure that gen_op was following, and expr_cond
was using as well in the past, which I find easier to reconvene
with the standard language.  But it reuses the new functions for
diagnostics to improve (a little) on what GCC or clang produce :)
2020-04-15 02:44:12 +02:00

13 lines
110 B
Plaintext

33_ternary_op.c:26: warning: pointer/integer mismatch in conditional expression
0
1
4
9
16
15
18
21
24
27
152