blob: ec461923f93950d98931e2a4f2e4f49d5b04bd6b [file]
// RUN_PIPELINE_TILL: FRONTEND
annotation class Anno(val position: String)
class MyClass {
<!WRONG_ANNOTATION_TARGET!>@Anno("init $prop")<!> init {
}
companion object {
private const val prop = 0
}
}
/* GENERATED_FIR_TAGS: annotationDeclaration, classDeclaration, companionObject, const, init, integerLiteral,
objectDeclaration, primaryConstructor, propertyDeclaration, stringLiteral */