blob: 6347fe877c2f520dedbe0f5e5bc78985e3df57b5 [file]
// !LANGUAGE: +InlineClasses
// IGNORE_BACKEND_FIR: JVM_IR
inline class X(val s: String)
fun foo(x: X, block: (X) -> String = { it.s }) = block(x)
fun box(): String {
return foo(X("OK"))
}