Files
kotlin-fork/compiler/testData/codegen/box/callableReference/function/local/extensionToPrimitive.kt
T

6 lines
165 B
Kotlin
Vendored

// IGNORE_BACKEND_FIR: JVM_IR
fun box(): String {
fun Int.is42With(that: Int) = this + 2 * that == 42
return if ((Int::is42With)(16, 13)) "OK" else "Fail"
}