Sign in
◑
Theme
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
1f76d39e66b4ee8544feac93e4afd8e61ef9610a
/
.
/
compiler
/
testData
/
codegen
/
box
/
enum
/
simple.kt
blob: 71239e012a1c15a7e42a909566a1eba0bd3810d5 [
file
]
// KT-55828
// IGNORE_BACKEND_K2: NATIVE
enum
class
Season
{
WINTER
,
SPRING
,
SUMMER
,
AUTUMN
}
fun foo
():
Season
=
Season
.
SPRING
fun box
()
=
if
(
foo
()
==
Season
.
SPRING
)
"OK"
else
"fail"