// SKIP_INLINE_CHECK_IN: inlineFun$default
// FILE: 1.kt
package test

inline fun String.inlineFun(crossinline lambda: () -> String = { { this }() }): String {
    return {
        {
            this + lambda()
        }.let { it() }
    }.let { it() }
}

// FILE: 2.kt
import test.*

fun box(): String {
    val result = "OK".inlineFun()
    return if (result == "OKOK") "OK" else "fail 1: $result"
}
