Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
eeaff786f0d0a86b7b827da0028bbafe287d3c04
/
.
/
compiler
/
testData
/
codegen
/
box
/
enum
/
test0.kt
blob: 05fcb156e6728ed3d529fc0410257e1d6bfd8e36 [
file
]
// WITH_STDLIB
import
kotlin
.
test
.*
val TOP_LEVEL
=
5
enum
class
MyEnum
(
value
:
Int
)
{
VALUE
(
TOP_LEVEL
)
}
fun box
():
String
{
assertEquals
(
"VALUE"
,
MyEnum
.
VALUE
.
toString
())
return
"OK"
}