Files
kotlin-fork/compiler/testData/diagnostics/testsWithJsStdLib/native/enumEntry.kt
T
Nikolay Lunyak cca04bbcc2 [FIR] Check test text for all alongside tests
For some reason the practice is to configure the K2
diagnostics tests as "alongside" and instruct K1
tests to ensure there are no unexpected differences
in the sources. But someone may still forget there is
something that they need to configure in the K1 runners.
2023-10-05 08:46:54 +00:00

8 lines
256 B
Kotlin
Vendored

// !DIAGNOSTICS: +ENUM_CLASS_IN_EXTERNAL_DECLARATION_WARNING
external enum class <!ENUM_CLASS_IN_EXTERNAL_DECLARATION_WARNING!>E<!> {
X,
Y <!EXTERNAL_ENUM_ENTRY_WITH_BODY!>{
fun foo()
}<!>,
Z <!EXTERNAL_ENUM_ENTRY_WITH_BODY!>{}<!>
}