Files
kotlin-fork/compiler/testData/ir/irText/declarations/annotations/classesWithAnnotations.kt
T
2024-02-16 10:19:38 +00:00

23 lines
348 B
Kotlin
Vendored

// FIR_IDENTICAL
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