blob: e759db8637803671fab610a17eaaba8ba1c7ceb2 [file]
// RUN_PIPELINE_TILL: FRONTEND
// FIR_IDENTICAL
annotation class B
class A {
<!WRONG_MODIFIER_TARGET!>annotation<!> companion object {}
}
<!WRONG_MODIFIER_TARGET!>annotation<!> object O {}
<!WRONG_MODIFIER_TARGET!>annotation<!> interface T {}
<!WRONG_MODIFIER_TARGET!>annotation<!> fun f() = 0
<!WRONG_MODIFIER_TARGET!>annotation<!> val x = 0
<!WRONG_MODIFIER_TARGET!>annotation<!> var y = 0
/* GENERATED_FIR_TAGS: annotationDeclaration, classDeclaration, companionObject, functionDeclaration, integerLiteral,
interfaceDeclaration, objectDeclaration, propertyDeclaration */