mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 15:53:19 +00:00
13 lines
200 B
Kotlin
Vendored
13 lines
200 B
Kotlin
Vendored
// IGNORE_BACKEND: JS_IR
|
|
class C {
|
|
fun calc() : String {
|
|
return "OK"
|
|
}
|
|
}
|
|
|
|
fun box(): String? {
|
|
val c: C? = C()
|
|
val arrayList = arrayOf(c?.calc(), "")
|
|
return arrayList[0]
|
|
}
|