aboutsummaryrefslogtreecommitdiff
path: root/compiler/tests
AgeCommit message (Expand)AuthorFilesLines
2020-08-16Add "char" typeSamuel Lidén Borell12-47/+71
2020-07-17Constexpr: Implement integer multiplicationSamuel Lidén Borell2-2/+52
2020-07-17C backend: Fix translation of complex enumsSamuel Lidén Borell2-0/+6
2020-07-17C backend: Add tests of runtime expressions. Fix anon and stmt typedef enumsSamuel Lidén Borell3-0/+459
2020-07-16Constexpr: Implement wrap-around for system-independent "wu*" typesSamuel Lidén Borell1-1/+51
2020-07-16Constexpr: Implement struct, array and enum comparison. Add test and fix bugsSamuel Lidén Borell2-0/+385
2020-07-14C backend: Don't output incomplete types. Fix detection in generic typesSamuel Lidén Borell2-1/+4
2020-07-13Tests: Add missing return statements to testsSamuel Lidén Borell40-45/+49
2020-07-13C backend: Fix translation of comparison of optional typesSamuel Lidén Borell1-0/+68
2020-07-13Identifier: Allow type parameter references from typedef statementsSamuel Lidén Borell2-0/+32
2020-07-09Tests: Fix "useless expression" errors in testsSamuel Lidén Borell1-4/+4
2020-07-09Verifier: Check for useless expressionsSamuel Lidén Borell2-0/+34
2020-07-05Tests: Add missing "return 0" to runtime testsSamuel Lidén Borell2-0/+2
2020-07-05Add "with" to switch-case statement, to track which case was matchedSamuel Lidén Borell2-0/+128
2020-07-04Parser: Change precedence of makeopt operatorSamuel Lidén Borell1-2/+2
2020-07-04C backend: Correctly break out of loops from switch-case statementsSamuel Lidén Borell1-0/+40
2020-07-04Parser: Add check of break/continue statementSamuel Lidén Borell2-0/+46
2020-07-04C interop: Add conditional ?: operatorSamuel Lidén Borell1-11/+5
2020-07-04C interop: Fix references to enum values with implicit valuesSamuel Lidén Borell1-1/+2
2020-07-04Tests: Rename C header test, so it is run from make checkSamuel Lidén Borell1-0/+0
2020-07-03C interop: Add support for private/incomplete struct typedefsSamuel Lidén Borell2-0/+7
2020-07-03Tests: Run tests/interop/*.{good,bad} from make checkSamuel Lidén Borell2-1/+1
2020-07-03Tests: Extend the existing tests + fix locale bug in scriptSamuel Lidén Borell7-7/+26
2020-07-03Verifier: Add type checks on equality/inequality operatorsSamuel Lidén Borell2-0/+7
2020-07-03Verifier: Fix array index operation on multi-dimensional array literalsSamuel Lidén Borell4-1/+17
2020-07-01Verifier: Types of dereferenced pointers do not need to match exactlySamuel Lidén Borell1-0/+29
2020-06-29Constexpr: Handle constexprs referencing other constexprs properlySamuel Lidén Borell4-2/+33
2020-06-27Verifier: Allow multi-assignment with mixed destination typesSamuel Lidén Borell4-0/+35
2020-06-25Verifier: Add check that left assignment operands can be assigned toSamuel Lidén Borell1-0/+1
2020-06-25Parser: Hide loop variables in statements following the loopSamuel Lidén Borell1-0/+6
2020-06-25Verifier: Improved array length comparisonSamuel Lidén Borell1-4/+4
2020-06-25Identifier: Disallow duplicate typedef using "here" identifierSamuel Lidén Borell2-1/+6
2020-06-25Verifier: Fix detection of incomplete optional typesSamuel Lidén Borell1-0/+3
2020-06-25Identifier: Make type parameters accessible within the same namespaceSamuel Lidén Borell1-4/+38
2020-06-25Tests: Also run "good" test cases in one compiler process invocationSamuel Lidén Borell1-14/+25
2017-09-21C backend: Include LRL expression/filename/line in assert messagesSamuel Lidén Borell1-0/+6
2017-09-01Add various TODOs and commentsSamuel Lidén Borell1-1/+1
2017-08-29Verifier: Limit when var/const qualifiers can be usedSamuel Lidén Borell8-83/+39
2017-08-29Verifier: Fix typedef statements (typedefs inside functions)Samuel Lidén Borell3-6/+23
2017-08-27C backend: Implement struct comparisonSamuel Lidén Borell1-14/+56
2017-08-23C backend: Fix allocation of temporaries in nested statementsSamuel Lidén Borell1-2/+3
2017-08-22C backend: Implement proper comparison between optional typesSamuel Lidén Borell2-2/+61
2017-08-19Constexpr: Implement (in)equality operation for scalar typesSamuel Lidén Borell1-0/+15
2017-08-19Tests: Test "for" loop over nested arraysSamuel Lidén Borell1-0/+5
2017-08-19C backend: Correctly declare all temporaries for "for" loops over arraysSamuel Lidén Borell1-0/+10
2017-08-18Verifier: Require constant case expressions, and evaluate themSamuel Lidén Borell1-1/+8
2017-08-17C backend: Implement non-scalar switch statementSamuel Lidén Borell2-0/+25
2017-08-16C backend: Implement makeopt operatorSamuel Lidén Borell1-0/+16
2017-08-14Tests: Add an old test of identifier hashmap size expansionSamuel Lidén Borell1-0/+508
2017-08-14Verifier: Check that "return" statement has a value for non-void functionsSamuel Lidén Borell2-0/+27