Files
kotlin-fork/compiler/testData/ir/irText/declarations/annotations/variablesWithAnnotations.kt.txt
T
2021-09-23 06:59:33 +00:00

20 lines
314 B
Plaintext
Vendored

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