// !DIAGNOSTICS: -UNUSED_PARAMETER fun foo() { [nativeSetter] fun Int.set(a: String, v: Int) {} [nativeSetter] fun Int.set2(a: Number, v: String?) = "OK" [nativeSetter] fun Int.set3(a: Double, v: String?) = "OK" [nativeSetter] fun Int.set(a: Any): Int? = 1 [nativeSetter] fun Int.set2(): String? = "OK" [nativeSetter] fun Int.set3(a: Any, b: Int, c: Any?) {} }