Files
kotlin-fork/compiler/testData/codegen/box/reflection/callBy/inlineClassDefaultArguments.kt
T

12 lines
199 B
Kotlin
Vendored

// IGNORE_BACKEND: JS_IR, JS, NATIVE
// IGNORE_BACKEND: JS_IR_ES6
// WITH_REFLECT
inline class A(val x: Int)
fun test(x: A = A(0)) = "OK"
fun box(): String {
return (::test).callBy(mapOf())
}