Files
kotlin-fork/compiler/testData/diagnostics/tests/annotations/kt1860-positive.jet
T
2012-04-24 21:53:23 +04:00

11 lines
192 B
Plaintext

annotation class test {}
fun foo(test <!UNUSED_PARAMETER!>f<!> : Int) {}
var bar : Int = 1
set(test v) {}
val x : (Int) -> Int = {([test] x : Int) -> x}
class Hello(test args: Any) {
}