blob: 230e58193a3e2c897189ebea34725b1e09a4e0cb [file]
// RUN_PIPELINE_TILL: CODEGEN
// LANGUAGE: +LocalVariableTargetedAnnotationOnDestructuring
fun test(): Any? {
@ann val (a, b) = P(1, 1)
return a + b
}
annotation class ann
data class P(val a: Int, val b: Int)
/* GENERATED_FIR_TAGS: additiveExpression, annotationDeclaration, classDeclaration, data, destructuringDeclaration,
functionDeclaration, integerLiteral, localProperty, nullableType, primaryConstructor, propertyDeclaration */