Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
a6417fc509e4365c1ed6addd914701510995cdb2
/
.
/
compiler
/
testData
/
codegen
/
box
/
enum
/
inclassobj.kt
blob: 5006013d4b782f8706a6023257d4aac4074e7b2f [
file
] [
log
] [
blame
]
fun box
()
=
if
(
Context
.
operatingSystemType
==
Context
.
Companion
.
OsType
.
OTHER
)
"OK"
else
"fail"
public
class
Context
{
companion
object
{
public
enum
class
OsType
{
LINUX
,
OTHER
;
}
public
val operatingSystemType
:
OsType
get
()
=
OsType
.
OTHER
}
}