Files
kotlin-fork/compiler/testData/ir/irText/declarations/annotations/enumEntriesWithAnnotations.kt
T

17 lines
360 B
Kotlin
Vendored

// IGNORE_BACKEND: JS_IR
// SKIP_SIGNATURE_DUMP
// ^ Difference in annotations generated by K1 and K2
// KT-61141: absent enum fake_overrides: finalize, getDeclaringClass, clone
// IGNORE_BACKEND: NATIVE
annotation class TestAnn(val x: String)
enum class TestEnum {
@TestAnn("ENTRY1") ENTRY1,
@TestAnn("ENTRY2") ENTRY2 {
val x = 42
}
}