Files
kotlin/compiler/testData/codegen/box/enum/inclassobj.kt
Alexander Udalov 41a416da60 Move blackBoxFile() testData to box/ directory
Delete all test methods (and empty test classes), since they'll be
auto-generated
2013-01-28 18:20:17 +04:00

16 lines
375 B
Kotlin

fun box() = if(Context.operatingSystemType == Context.OsType.OTHER) "OK" else "fail"
public class Context
{
class object
{
public enum class OsType {
LINUX;
OTHER
}
public val operatingSystemType: OsType
get() = OsType.OTHER
}
}