FE: add one more test related to KT-56511 with the relevant feature ON

This commit is contained in:
Mikhail Glukhikh
2023-03-14 10:15:37 +01:00
committed by Space Team
parent 41c868445c
commit e8232a7572
8 changed files with 66 additions and 15 deletions
@@ -30181,9 +30181,15 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
}
@Test
@TestMetadata("smartCastOnAlienPropertyFromInnerClass.kt")
public void testSmartCastOnAlienPropertyFromInnerClass() throws Exception {
runTest("compiler/testData/diagnostics/tests/smartCasts/smartCastOnAlienPropertyFromInnerClass.kt");
@TestMetadata("smartCastOnAlienPropertyFromInvisibleClass.kt")
public void testSmartCastOnAlienPropertyFromInvisibleClass() throws Exception {
runTest("compiler/testData/diagnostics/tests/smartCasts/smartCastOnAlienPropertyFromInvisibleClass.kt");
}
@Test
@TestMetadata("smartCastOnAlienPropertyFromInvisibleClassForbidden.kt")
public void testSmartCastOnAlienPropertyFromInvisibleClassForbidden() throws Exception {
runTest("compiler/testData/diagnostics/tests/smartCasts/smartCastOnAlienPropertyFromInvisibleClassForbidden.kt");
}
@Test