blob: 835ece51e9b98c9f1c13123232b5d48a73e5d01f [file]
// LANGUAGE: +UnnamedLocalVariables
// IGNORE_BACKEND_K1: ANY
var result = "FAIL: call() must be called"
fun call() {
result = "OK"
}
object Structure {
operator fun component1() {
result = "FAIL: component1() must not be called"
}
}
fun box(): String {
val _ = call()
val (_) = Structure
return result
}