Files
kotlin/compiler/testData/codegen/bytecodeText/localInitializationLVT/run.kt
Ilmir Usmanov 20e4efaeab Fix test data
2019-02-01 17:33:49 +03:00

14 lines
231 B
Kotlin
Vendored

// IGNORE_BACKEND: JVM_IR
fun test(): Char {
val c: Char
run {
c = ' '
println(c)
}
return c
}
// The first on declaration, the other on initialization
// 2 ISTORE 0
// 1 LOCALVARIABLE c C L1 L.* 0