Files
kotlin-fork/compiler/testData/ir/irText/declarations/annotations/variablesWithAnnotations.kt.txt
T

16 lines
265 B
Plaintext
Vendored

annotation class TestAnn : Annotation {
constructor(x: String) /* primary */
val x: String
field = x
get
}
fun foo() {
@TestAnn(x = "foo/testVal")
val testVal: String = "testVal"
@TestAnn(x = "foo/testVar")
var testVar: String = "testVar"
}