Files
kotlin-fork/compiler/testData/diagnostics/tests/dataClasses/strange.kt
T
Ilya Chernikov 854127bcc8 Fix testdata after switching Kotlin to version 1.8
(see the previous commit with the same title for details)
2022-07-01 14:31:45 +02:00

12 lines
242 B
Kotlin
Vendored

// FIR_IDENTICAL
<!WRONG_MODIFIER_TARGET!>data<!> enum class First(val x: Int) {
A(1),
B(2)
}
data object Second
<!WRONG_MODIFIER_TARGET!>data<!> interface Third
<!WRONG_MODIFIER_TARGET!>data<!> annotation class Fourth(val x: Int)