// !DIAGNOSTICS: -UNUSED_EXPRESSION fun foo(x: Int, y: Any) = x fun foo(x: Any, y: Int) = y fun main() { ::foo ::foo : (Int, Any) -> Unit }