mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-11 15:53:46 +00:00
16 lines
318 B
Kotlin
16 lines
318 B
Kotlin
enum class B {}
|
|
|
|
class A {
|
|
<!ILLEGAL_ENUM_ANNOTATION!>enum<!> class object {}
|
|
}
|
|
|
|
<!ILLEGAL_ENUM_ANNOTATION!>enum<!> object O {}
|
|
|
|
<!ILLEGAL_ENUM_ANNOTATION!>enum<!> trait T {}
|
|
|
|
<!ILLEGAL_ENUM_ANNOTATION!>enum<!> fun f() = 0
|
|
|
|
<!ILLEGAL_ENUM_ANNOTATION!>enum<!> val x = 0
|
|
|
|
<!ILLEGAL_ENUM_ANNOTATION!>enum<!> var y = 0
|