KT-55335: Add diagnostics test showing that issue is fixed in K2

^KT-55335: Fixed
This commit is contained in:
Stanislav Ruban
2023-01-03 19:16:50 +02:00
committed by Space Team
parent 965015bb1e
commit ca8cfa4596
6 changed files with 39 additions and 0 deletions
@@ -1344,6 +1344,12 @@ public class FirOldFrontendDiagnosticsTestGenerated extends AbstractFirDiagnosti
runTest("compiler/testData/diagnostics/tests/annotations/inheritFromAnnotationClass2.kt");
}
@Test
@TestMetadata("InheritingAnnotationClass.kt")
public void testInheritingAnnotationClass() throws Exception {
runTest("compiler/testData/diagnostics/tests/annotations/InheritingAnnotationClass.kt");
}
@Test
@TestMetadata("invalidTypesInAnnotationConstructor.kt")
public void testInvalidTypesInAnnotationConstructor() throws Exception {
@@ -1338,6 +1338,12 @@ public class FirOldFrontendDiagnosticsWithLightTreeTestGenerated extends Abstrac
runTest("compiler/testData/diagnostics/tests/annotations/inheritFromAnnotationClass2.kt");
}
@Test
@TestMetadata("InheritingAnnotationClass.kt")
public void testInheritingAnnotationClass() throws Exception {
runTest("compiler/testData/diagnostics/tests/annotations/InheritingAnnotationClass.kt");
}
@Test
@TestMetadata("invalidTypesInAnnotationConstructor.kt")
public void testInvalidTypesInAnnotationConstructor() throws Exception {