blob: fe3d3a1076ac39e21463b6874213130b88481b59 [file]
// IGNORE_BACKEND: NATIVE
// WITH_STDLIB
inline fun <T> useRef(value: T, f: (T) -> Boolean) = f(value)
fun box(): String {
val chars = listOf('a') + "-"
val ref = chars::contains
return if (ref('a')) "OK" else "Failed"
}