blob: 0eab10d32b5bae3e1c452f162b3a051fc66bd9d2 [file]
// WITH_STDLIB
// FILE: lib.kt
val sb = StringBuilder()
inline fun foo(x: Any) {
sb.append(if (x === x) "OK" else "FAIL")
}
// FILE: main.kt
import kotlin.test.*
fun box(): String {
foo { 42 }
return sb.toString()
}