Files
kotlin-fork/compiler/testData/ir/irText/declarations/annotations/enumEntriesWithAnnotations.kt
T
Vladimir Sukharev 3aa6c9e74d [K/N] Run irText tests for K1/Native
^KT-58240
2023-09-05 11:42:45 +00:00

18 lines
389 B
Kotlin
Vendored

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