mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-17 15:54:03 +00:00
13 lines
237 B
Kotlin
Vendored
13 lines
237 B
Kotlin
Vendored
//!DIAGNOSTICS: -UNUSED_PARAMETER
|
|
|
|
fun <T> foo(i: Int, t: T) {}
|
|
fun <T> foo(s: String, t: T) {}
|
|
|
|
fun bar(i: Int) {}
|
|
fun bar(s: String) {}
|
|
|
|
fun test() {
|
|
foo(<!UNRESOLVED_REFERENCE!>rrr<!>, 1)
|
|
bar(<!UNRESOLVED_REFERENCE!>rrr<!>)
|
|
}
|