cca04bbcc2
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.
8 lines
256 B
Kotlin
Vendored
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!>{}<!>
|
|
} |