mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 15:53:37 +00:00
20 lines
405 B
Kotlin
Vendored
20 lines
405 B
Kotlin
Vendored
// IGNORE_BACKEND: JVM_IR
|
|
// TODO KT-36771 Missing special code for super calls to inline functions support in JVM_IR
|
|
|
|
//open modality to method handle check generation
|
|
open class A {
|
|
inline fun test(p: String = "OK"): String {
|
|
return p
|
|
}
|
|
}
|
|
|
|
fun box(): String {
|
|
return A().test()
|
|
}
|
|
|
|
//handler check in test$default
|
|
// 1 IFNULL
|
|
//mask check in test$default
|
|
// 1 IFEQ
|
|
//total ifs
|
|
// 2 IF |