blob: 6cd4b37b0f969d68ba64260a690b55ce4ebdca52 [file]
// RUN_PIPELINE_TILL: CODEGEN
annotation class My
fun foo(): Int {
val s = object {
@My val bar: Int = 0
}
return s.bar
}
/* GENERATED_FIR_TAGS: annotationDeclaration, anonymousObjectExpression, functionDeclaration, integerLiteral,
localProperty, propertyDeclaration */