ff6ea40056
Merge-request: KT-MR-8229 Merged-by: Vladimir Sukharev <Vladimir.Sukharev@jetbrains.com>
18 lines
431 B
Kotlin
Vendored
18 lines
431 B
Kotlin
Vendored
// KT-55828
|
|
// IGNORE_BACKEND_K2: NATIVE
|
|
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
|
|
}
|
|
}
|