13 lines
298 B
Kotlin
Vendored
13 lines
298 B
Kotlin
Vendored
// IGNORE_BACKEND: JS_IR
|
|
// TODO: muted automatically, investigate should it be ran for JS or not
|
|
// IGNORE_BACKEND: JS, NATIVE
|
|
|
|
// WITH_RUNTIME
|
|
|
|
fun box(): String {
|
|
val s: String? = "a"
|
|
val o: Char? = s?.get(0)
|
|
val c: Any? = o?.javaClass
|
|
return if (c != null) "OK" else "fail"
|
|
}
|