Pseudocode: Generate correct values for postfix increment/decrement

This commit is contained in:
Alexey Sedunov
2014-06-23 13:53:08 +04:00
parent 7c837909d8
commit 50228fa085
8 changed files with 123 additions and 4 deletions
@@ -359,6 +359,11 @@ public class ControlFlowTestGenerated extends AbstractControlFlowTest {
doTest("compiler/testData/cfg/expressions/expressionAsFunction.kt");
}
@TestMetadata("incdec.kt")
public void testIncdec() throws Exception {
doTest("compiler/testData/cfg/expressions/incdec.kt");
}
@TestMetadata("LazyBooleans.kt")
public void testLazyBooleans() throws Exception {
doTest("compiler/testData/cfg/expressions/LazyBooleans.kt");
@@ -361,6 +361,11 @@ public class PseudoValueTestGenerated extends AbstractPseudoValueTest {
doTest("compiler/testData/cfg/expressions/expressionAsFunction.kt");
}
@TestMetadata("incdec.kt")
public void testIncdec() throws Exception {
doTest("compiler/testData/cfg/expressions/incdec.kt");
}
@TestMetadata("LazyBooleans.kt")
public void testLazyBooleans() throws Exception {
doTest("compiler/testData/cfg/expressions/LazyBooleans.kt");