2ecba6ac39
This directive anyway does not make test run twice with OI, and with NI It only once run the test with specific settings (// LANGUAGE) and ignores irrelevant (OI or NI tags)
10 lines
249 B
Kotlin
Vendored
10 lines
249 B
Kotlin
Vendored
// !DIAGNOSTICS: -UNUSED_PARAMETER
|
|
fun <T> g(x: T) = 1
|
|
fun h(x: () -> Unit) = 1
|
|
|
|
fun foo() {
|
|
<!UNRESOLVED_REFERENCE!>f<!>(::<!SYNTAX!><!>)
|
|
<!INAPPLICABLE_CANDIDATE!>g<!>(::<!SYNTAX!><!>)
|
|
<!INAPPLICABLE_CANDIDATE!>h<!>(::<!SYNTAX!><!>)
|
|
}
|