b551afb202
The caching variable has to have no initializers so that there is no dependence on evaluation order.
15 lines
199 B
Kotlin
Vendored
15 lines
199 B
Kotlin
Vendored
// EXPECTED_REACHABLE_NODES: 1114
|
|
package foo
|
|
|
|
val k = { "K" }
|
|
|
|
fun test(): String {
|
|
val o = { "O" }
|
|
|
|
val funLit = { o() + k() }
|
|
return funLit()
|
|
}
|
|
|
|
fun box(): String {
|
|
return test()
|
|
} |