Files
kotlin-fork/compiler/testData/diagnostics/tests/annotations/MultiDeclaration.fir.kt
T

10 lines
204 B
Kotlin
Vendored

annotation class Ann
data class Pair(val x: Int, val y: Int)
fun foo(): Int {
@Ann val (a, b) = Pair(12, 34)
@<!UNRESOLVED_REFERENCE!>Err<!> val (c, d) = Pair(56, 78)
return a + b + c + d
}