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