Files
kotlin-fork/compiler/testData/codegen/box/jvmStatic/inline.kt
T
2019-11-19 11:00:09 +03:00

19 lines
251 B
Kotlin
Vendored

// IGNORE_BACKEND_FIR: JVM_IR
// TARGET_BACKEND: JVM
// WITH_RUNTIME
object A {
@JvmStatic inline fun test(b: String = "OK") : String {
return b
}
}
fun box(): String {
if (A.test() != "OK") return "fail 1"
return "OK"
}