blob: 15d423589fcaa23c26aa85b932a55149af479b81 [file]
// RUN_PIPELINE_TILL: BACKEND
// FIR_IDENTICAL
// 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 */