mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-17 00:21:28 +00:00
18 lines
246 B
Kotlin
Vendored
18 lines
246 B
Kotlin
Vendored
// IGNORE_BACKEND: JVM_IR
|
|
// TODO KT-36648 Captured variables not optimized in JVM_IR
|
|
|
|
fun test() {
|
|
var x = 0
|
|
run {
|
|
run {
|
|
run {
|
|
++x
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// 0 NEW
|
|
// 0 GETFIELD
|
|
// 0 PUTFIELD
|