02180e8685
^KT-57777 Fixed ^KT-57818 Fixed
25 lines
386 B
Kotlin
Vendored
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
|