K2: add test confirming successful work of KT-56261

This commit is contained in:
Mikhail Glukhikh
2023-02-07 17:15:33 +01:00
committed by Space Team
parent 314784f435
commit 2405f28e64
6 changed files with 52 additions and 0 deletions
@@ -2866,6 +2866,12 @@ public class DiagnosisCompilerFirTestdataTestGenerated extends AbstractDiagnosis
runTest("compiler/fir/analysis-tests/testData/resolve/extendedCheckers/unused/localVariable.kt");
}
@Test
@TestMetadata("localVariableInSecondaryConstructor.kt")
public void testLocalVariableInSecondaryConstructor() throws Exception {
runTest("compiler/fir/analysis-tests/testData/resolve/extendedCheckers/unused/localVariableInSecondaryConstructor.kt");
}
@Test
@TestMetadata("manyLocalVariables.kt")
public void testManyLocalVariables() throws Exception {