fix KT-5645: 'continue' inside 'do...while' statement works as goto to the beginning of the loop (not checking loop condition)
#KT-5645 Fixed
This commit is contained in:
committed by
Svetlana Isakova
parent
3d7c22f242
commit
25a0854dbd
@@ -1468,6 +1468,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
doTest("compiler/testData/codegen/box/controlStructures/doWhileFib.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("doWhileWithContinue.kt")
|
||||
public void testDoWhileWithContinue() throws Exception {
|
||||
doTest("compiler/testData/codegen/box/controlStructures/doWhileWithContinue.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("emptyDoWhile.kt")
|
||||
public void testEmptyDoWhile() throws Exception {
|
||||
doTest("compiler/testData/codegen/box/controlStructures/emptyDoWhile.kt");
|
||||
|
||||
Reference in New Issue
Block a user