mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-17 00:21:28 +00:00
14 lines
358 B
Kotlin
Vendored
14 lines
358 B
Kotlin
Vendored
// IGNORE_BACKEND: JVM_IR
|
|
// TODO KT-36648 Captured variables not optimized in JVM_IR
|
|
// TODO KT-36812 Generate proper lifetime intervals for local variables in JVM_IR
|
|
|
|
fun test(): java.lang.Integer {
|
|
val c: java.lang.Integer
|
|
run {
|
|
c = java.lang.Integer(1)
|
|
}
|
|
return c
|
|
}
|
|
|
|
// 2 ASTORE 0
|
|
// 1 LOCALVARIABLE c Ljava/lang/Integer; L1 L.* 0 |