// WITH_RUNTIME fun foo(p: Int, list: List) { if (p > 0) { val predicate: (Int) -> Boolean = { it > 0 } list.filter(predicate) } }