// WITH_RUNTIME inline fun T.runInlineExt(fn: T.() -> String) = fn() @Suppress("OPTIONAL_DECLARATION_USAGE_IN_NON_COMMON_SOURCE") @kotlin.jvm.JvmInline value class R(private val r: Int) { fun test() = runInlineExt { "OK" } } fun box() = R(0).test()