mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 15:53:19 +00:00
13 lines
220 B
Kotlin
Vendored
13 lines
220 B
Kotlin
Vendored
// IGNORE_BACKEND_FIR: JVM_IR
|
|
class A {
|
|
fun foo(k: Int) = k
|
|
|
|
fun result() = (A::foo)(this, 111)
|
|
}
|
|
|
|
fun box(): String {
|
|
val result = A().result()
|
|
if (result != 111) return "Fail $result"
|
|
return "OK"
|
|
}
|