ed83e3ccef
The number of initializations of the `value` field before the live range begins does not really matter so long as we insert a write of a default value to the local if there were none.
24 lines
316 B
Kotlin
Vendored
24 lines
316 B
Kotlin
Vendored
fun box(): String {
|
|
var xl = 0L // Long, size 2
|
|
var xi = 0 // Int, size 1
|
|
var xd = 0.0 // Double, size 2
|
|
|
|
run {
|
|
xl++
|
|
xd += 1.0
|
|
xi++
|
|
}
|
|
|
|
run {
|
|
run {
|
|
xl++
|
|
xd += 1.0
|
|
xi++
|
|
}
|
|
}
|
|
|
|
return "OK"
|
|
}
|
|
|
|
// 0 NEW
|