ORCA-C/Tests/Conformance/DOIT3
Stephen Heumann 102d6873a3 Fix type checking and result type computation for ? : operator.
This was non-standard in various ways, mainly in regard to pointer types. It has been rewritten to closely follow the specification in the C standards.

Several helper functions dealing with types have been introduced. They are currently only used for ? :, but they might also be useful for other purposes.

New tests are also introduced to check the behavior for the ? : operator.

This fixes #35 (including the initializer-specific case).
2022-06-23 22:05:34 -05:00

32 lines
484 B
Plaintext

{1} c95digraph.c
{1} c95iso646.c
{1} c99fam.c
{1} c99intdiv.c
{1} c99func.c
{1} c99macros.c
{1} c99ucn.c
{1} c99misc.c
{1} c99bool.c
{1} c99fpclass.c
{1} c99fenv.c
{1} c99stdint.c
{1} c99stdio.c
{1} c99llong.c
{1} c99hexflt.c
{1} c99arraytp.c
{1} c99complit.c
{1} c99strftim.c
{1} c99locale.c
{1} c99stdarg.c
{1} c99math.c
{1} c99fpcmp.c
{1} c99tgmath.c
{1} c11generic.c
{1} c11align.c
{1} c11noret.c
{1} c11quickex.c
{1} c11sassert.c
{1} c11unicode.c
{1} c11uchar.c
{1} c11ternary.c