Prohibit body for annotation class

#KT-1886 Fixed
This commit is contained in:
Natalia.Ukhorskaya
2012-09-13 16:26:07 +04:00
parent 954003872d
commit 60bdae9d75
15 changed files with 53 additions and 24 deletions
@@ -567,6 +567,11 @@ public class JetDiagnosticsTestGenerated extends AbstractDiagnosticsTestWithEage
doTest("compiler/testData/diagnostics/tests/annotations/kt1860-positive.kt");
}
@TestMetadata("kt1886annotationBody.kt")
public void testKt1886annotationBody() throws Exception {
doTest("compiler/testData/diagnostics/tests/annotations/kt1886annotationBody.kt");
}
@TestMetadata("NonAnnotationClass.kt")
public void testNonAnnotationClass() throws Exception {
doTest("compiler/testData/diagnostics/tests/annotations/NonAnnotationClass.kt");