26 lines
387 B
Kotlin
Vendored
26 lines
387 B
Kotlin
Vendored
// EXPECTED_REACHABLE_NODES: 1286
|
|
package foo
|
|
|
|
class Foo {
|
|
val OK = "OK";
|
|
var result: String = ""
|
|
init {
|
|
fun bar(s: String? = null) {
|
|
if (s != null) {
|
|
result = s
|
|
return
|
|
}
|
|
|
|
myRun {
|
|
bar(OK)
|
|
}
|
|
}
|
|
bar();
|
|
}
|
|
|
|
}
|
|
|
|
fun box(): String {
|
|
return Foo().result
|
|
}
|