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)
11 lines
346 B
Kotlin
Vendored
11 lines
346 B
Kotlin
Vendored
// COMPARE_WITH_LIGHT_TREE
|
|
fun foo(@<!UNRESOLVED_REFERENCE!>varargs<!> f : Int) {}
|
|
|
|
var bar : Int = 1
|
|
set(@<!UNRESOLVED_REFERENCE!>varargs<!> v) {}
|
|
|
|
val x : (Int) -> Int = {@<!UNRESOLVED_REFERENCE!>varargs<!> <!TYPE_MISMATCH, UNINITIALIZED_VARIABLE!>x<!> <!SYNTAX!>: Int -> x<!>}
|
|
|
|
class Hello(@<!UNRESOLVED_REFERENCE!>varargs<!> args: Any) {
|
|
}
|