Files
kotlin-fork/compiler/testData/ir/irText/declarations/annotations/classesWithAnnotations.kt
T
2018-04-09 11:24:37 +03:00

21 lines
330 B
Kotlin
Vendored

annotation class TestAnn(val x: String)
@TestAnn("class")
class TestClass
@TestAnn("interface")
interface TestInterface
@TestAnn("object")
object TestObject
class Host {
@TestAnn("companion")
companion object TestCompanion
}
@TestAnn("enum")
enum class TestEnum
@TestAnn("annotation")
annotation class TestAnnotation