bcfafc601e
This change allows to revert adding `WITH_STDLIB` directive to tests which happened at `a9343aeb`. Co-authored-by: Alexander Udalov <Alexander.Udalov@jetbrains.com>
12 lines
163 B
Kotlin
Vendored
12 lines
163 B
Kotlin
Vendored
enum class A(val a: Int = 1) {
|
|
FIRST(),
|
|
SECOND(2)
|
|
}
|
|
|
|
fun box(): String {
|
|
if (A.FIRST.a == 1 && A.SECOND.a == 2) {
|
|
return "OK"
|
|
}
|
|
return "fail"
|
|
}
|