Files
kotlin-fork/compiler/testData/ir/irText/declarations/annotations/classesWithAnnotations.kt
T
Sergej Jaskiewicz 02180e8685 Factor out duplicated mangling logic for functions into the base class
^KT-57777 Fixed
^KT-57818 Fixed
2023-05-26 10:55:24 +00:00

25 lines
386 B
Kotlin
Vendored

// IGNORE_BACKEND: JS_IR
// IGNORE_BACKEND: JS_IR_ES6
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