4532f52898
Making enum class-related tests unmuted requires implementing a special "compatibility" mode for IR tree dumper to filter out fake override declarations leaking from java.enum.Enum and kotlin.Enum (JVM-only) classes.
22 lines
331 B
Kotlin
Vendored
22 lines
331 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
|