14 lines
216 B
Kotlin
Vendored
14 lines
216 B
Kotlin
Vendored
// IGNORE_BACKEND: JS_IR
|
|
// EXPECTED_REACHABLE_NODES: 1116
|
|
class C() {
|
|
companion object {
|
|
fun create() = C()
|
|
}
|
|
}
|
|
|
|
fun box(): String {
|
|
val c = C.create()
|
|
return if (c is C) "OK" else "fail"
|
|
}
|
|
|