Fixed bug with val ? true : false optimization

This commit is contained in:
NeeEoo
2024-04-25 04:06:53 +02:00
parent ad05952685
commit c0d4540d4b
2 changed files with 23 additions and 3 deletions
+3
View File
@@ -52,6 +52,9 @@ class FinalCase extends TestCase {
assertEq("TestEnum.C(1, 2)", TestEnum.C(1, 2));
assertEq("TestEnum.D(1, 2, 3)", TestEnum.D(1, 2, 3));
Util.parse('test ? 0xFF343434 : 0xFF92A2FF');
Util.parse('test ? 1 : 0.75;');
// Test EOF with preprocessor
}