// !DIAGNOSTICS: -UNUSED_EXPRESSION -UNUSED_PARAMETER fun test(x: () -> Unit, y: () -> Unit) { } fun main() { test { 1 } { 2 } }