mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-11 00:21:29 +00:00
11 lines
202 B
Kotlin
Vendored
11 lines
202 B
Kotlin
Vendored
// IGNORE_BACKEND_FIR: JVM_IR
|
|
class A {
|
|
class Nested {
|
|
companion object {
|
|
operator fun invoke(i: Int) = i
|
|
}
|
|
}
|
|
}
|
|
|
|
fun box() = if (A.Nested(42) == 42) "OK" else "fail"
|