mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-10 00:21:35 +00:00
9 lines
130 B
Kotlin
Vendored
9 lines
130 B
Kotlin
Vendored
// IGNORE_BACKEND_FIR: JVM_IR
|
|
fun Any.foo() = 1
|
|
|
|
class A {
|
|
companion object
|
|
}
|
|
|
|
fun box() = if (A.foo() == 1) "OK" else "fail"
|