mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-10 15:53:46 +00:00
14 lines
231 B
Kotlin
Vendored
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 |