// PSI_ELEMENT: org.jetbrains.kotlin.psi.KtParameter
// OPTIONS: usages

data class A(val <caret>x: Int, val y: Int, val z: String)
data class B(val a: A, val n: Int)

class C {
    operator fun component1(): A = TODO()
    operator fun component2() = 0
}

fun f(b: B, c: C) {
    val (a, n) = b
    val (x, y, z) = a

    val (a1, n1) = c
    val (x1, y1, z1) = a1
}
// FIR_COMPARISON
// FIR_COMPARISON_WITH_DISABLED_COMPONENTS
// IGNORE_FIR_LOG
