// WITH_STDLIB fun foo() = listOf(1) fun test(list: List): List { return list.ifEmpty { println() foo() } }