ORCA-C/Tests/Deviance
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
..
D2.1.0.1.CC Change all text/source files to LF line endings. 2017-10-21 18:40:19 -05:00
D2.2.0.2.CC Change all text/source files to LF line endings. 2017-10-21 18:40:19 -05:00
D2.4.0.1.CC Change all text/source files to LF line endings. 2017-10-21 18:40:19 -05:00
D2.5.0.1.CC Change all text/source files to LF line endings. 2017-10-21 18:40:19 -05:00
D2.5.0.2.CC Change all text/source files to LF line endings. 2017-10-21 18:40:19 -05:00
D2.7.1.1.CC Change all text/source files to LF line endings. 2017-10-21 18:40:19 -05:00
D2.7.1.2.CC Change all text/source files to LF line endings. 2017-10-21 18:40:19 -05:00
D2.7.2.1.CC Change all text/source files to LF line endings. 2017-10-21 18:40:19 -05:00
D2.7.3.1.CC Change all text/source files to LF line endings. 2017-10-21 18:40:19 -05:00
D2.7.3.3.CC Change all text/source files to LF line endings. 2017-10-21 18:40:19 -05:00
D2.7.4.1.CC Change all text/source files to LF line endings. 2017-10-21 18:40:19 -05:00
D2.7.4.4.CC Update test for maximum length of string constants. 2022-06-18 22:03:22 -05:00
D3.3.1.1.CC Change all text/source files to LF line endings. 2017-10-21 18:40:19 -05:00
D3.3.2.1.CC Change all text/source files to LF line endings. 2017-10-21 18:40:19 -05:00
D3.3.3.1.CC Change all text/source files to LF line endings. 2017-10-21 18:40:19 -05:00
D3.3.4.1.CC Change all text/source files to LF line endings. 2017-10-21 18:40:19 -05:00
D3.3.5.1.CC Change all text/source files to LF line endings. 2017-10-21 18:40:19 -05:00
D3.3.10.1.CC Change all text/source files to LF line endings. 2017-10-21 18:40:19 -05:00
D3.4.0.1.CC Change all text/source files to LF line endings. 2017-10-21 18:40:19 -05:00
D3.5.1.1.CC Change all text/source files to LF line endings. 2017-10-21 18:40:19 -05:00
D3.5.2.1.CC Change all text/source files to LF line endings. 2017-10-21 18:40:19 -05:00
D3.5.3.1.CC Change all text/source files to LF line endings. 2017-10-21 18:40:19 -05:00
D3.5.5.1.CC Change all text/source files to LF line endings. 2017-10-21 18:40:19 -05:00
D4.2.1.1.CC Change all text/source files to LF line endings. 2017-10-21 18:40:19 -05:00
D4.2.2.1.CC Change all text/source files to LF line endings. 2017-10-21 18:40:19 -05:00
D4.2.3.1.CC Change all text/source files to LF line endings. 2017-10-21 18:40:19 -05:00
D4.2.5.1.CC Change all text/source files to LF line endings. 2017-10-21 18:40:19 -05:00
D4.2.9.1.CC Change all text/source files to LF line endings. 2017-10-21 18:40:19 -05:00
D4.3.0.1.CC Change all text/source files to LF line endings. 2017-10-21 18:40:19 -05:00
D4.4.1.1.CC Change all text/source files to LF line endings. 2017-10-21 18:40:19 -05:00
D4.5.3.1.CC Change all text/source files to LF line endings. 2017-10-21 18:40:19 -05:00
D4.6.0.1.CC Change all text/source files to LF line endings. 2017-10-21 18:40:19 -05:00
D4.6.0.2.CC Change all text/source files to LF line endings. 2017-10-21 18:40:19 -05:00
D4.6.1.1.CC Change all text/source files to LF line endings. 2017-10-21 18:40:19 -05:00
D4.6.2.1.CC Change all text/source files to LF line endings. 2017-10-21 18:40:19 -05:00
D4.6.3.1.CC Change all text/source files to LF line endings. 2017-10-21 18:40:19 -05:00
D4.6.4.1.CC Change all text/source files to LF line endings. 2017-10-21 18:40:19 -05:00
D4.6.5.1.CC Change all text/source files to LF line endings. 2017-10-21 18:40:19 -05:00
D4.6.6.1.CC Change all text/source files to LF line endings. 2017-10-21 18:40:19 -05:00
D4.6.7.1.CC Change all text/source files to LF line endings. 2017-10-21 18:40:19 -05:00
D4.6.8.1.CC Change all text/source files to LF line endings. 2017-10-21 18:40:19 -05:00
D7.1.1.1.CC Change all text/source files to LF line endings. 2017-10-21 18:40:19 -05:00
D7.5.4.1.CC Change all text/source files to LF line endings. 2017-10-21 18:40:19 -05:00
D7.6.1.1.CC Change all text/source files to LF line endings. 2017-10-21 18:40:19 -05:00
D7.6.1.2.CC Change all text/source files to LF line endings. 2017-10-21 18:40:19 -05:00
D7.6.1.3.CC Update test to reflect that operands of % may be negative. 2018-09-15 00:03:44 -05:00
D7.6.3.1.CC Change all text/source files to LF line endings. 2017-10-21 18:40:19 -05:00
D7.6.4.1.CC Change all text/source files to LF line endings. 2017-10-21 18:40:19 -05:00
D7.6.6.1.CC Change all text/source files to LF line endings. 2017-10-21 18:40:19 -05:00
D7.6.7.1.CC Change all text/source files to LF line endings. 2017-10-21 18:40:19 -05:00
D7.6.8.1.CC Change all text/source files to LF line endings. 2017-10-21 18:40:19 -05:00
D7.8.0.1.CC Fix type checking and result type computation for ? : operator. 2022-06-23 22:05:34 -05:00
D8.7.0.1.CC Change all text/source files to LF line endings. 2017-10-21 18:40:19 -05:00
D8.8.0.1.CC Change all text/source files to LF line endings. 2017-10-21 18:40:19 -05:00
D9.2.0.1.CC Change all text/source files to LF line endings. 2017-10-21 18:40:19 -05:00
D25.0.1.CC Change all text/source files to LF line endings. 2017-10-21 18:40:19 -05:00
D25.0.2.CC Change all text/source files to LF line endings. 2017-10-21 18:40:19 -05:00
D3401.DATA Change all text/source files to LF line endings. 2017-10-21 18:40:19 -05:00
DOIT Fix type checking and result type computation for ? : operator. 2022-06-23 22:05:34 -05:00
RUN.DEVIANCE Change all text/source files to LF line endings. 2017-10-21 18:40:19 -05:00
TEST Change all text/source files to LF line endings. 2017-10-21 18:40:19 -05:00
TEST2 Change all text/source files to LF line endings. 2017-10-21 18:40:19 -05:00