Sign in
◑
Theme
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
HEAD
/
.
/
compiler
/
testData
/
diagnostics
/
tests
/
enum
/
enumMissingName.kt
blob: dbc32f4903e5bc4878d7d67b9b88793e23589cd2 [
file
]
// RUN_PIPELINE_TILL: FRONTEND
// Error: name should present
enum
class
<!
SYNTAX
!><!>(
val rgb
:
Int
)
{
RED
(
0xFF000
),
GREEN
(
0x00FF00
),
BLUE
(
0x0000FF
)
}
/* GENERATED_FIR_TAGS: enumDeclaration, enumEntry, primaryConstructor, propertyDeclaration */