[Test] Add test for KT-55338

This commit is contained in:
Dmitriy Novozhilov
2022-12-07 14:15:39 +02:00
committed by teamcity
parent a3768b9185
commit 44fd9ddf85
7 changed files with 234 additions and 0 deletions
@@ -30669,6 +30669,12 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
runTest("compiler/testData/diagnostics/tests/smartCasts/variables/capturedByNested.kt");
}
@Test
@TestMetadata("capturedLoopVariable.kt")
public void testCapturedLoopVariable() throws Exception {
runTest("compiler/testData/diagnostics/tests/smartCasts/variables/capturedLoopVariable.kt");
}
@Test
@TestMetadata("capturedWithControlJumps.kt")
public void testCapturedWithControlJumps() throws Exception {