Files
kotlin-fork/compiler/testData/codegen/box/intrinsics/incWithLabel.kt
T
2019-11-19 11:00:09 +03:00

9 lines
146 B
Kotlin
Vendored

// IGNORE_BACKEND_FIR: JVM_IR
fun box(): String {
var x = 1
(foo@ x)++
++(foo@ x)
if (x != 3) return "Fail: $x"
return "OK"
}