11 lines
170 B
Kotlin
Vendored
11 lines
170 B
Kotlin
Vendored
// IS_APPLICABLE: false
|
|
|
|
data class XY(val x: Int, val y: Int)
|
|
|
|
fun create() = XY(1, 2)
|
|
|
|
fun use(): Int {
|
|
val <caret>xy: XY
|
|
xy = create()
|
|
return xy.x + xy.y
|
|
} |