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>
15 lines
245 B
Kotlin
Vendored
15 lines
245 B
Kotlin
Vendored
// SKIP_DCE_DRIVEN
|
|
|
|
enum class Bar {
|
|
ONE {
|
|
override fun toString(): String {
|
|
if (this != TWO && this == ONE) return "OK" else return "FAIL"
|
|
}
|
|
},
|
|
TWO;
|
|
}
|
|
|
|
fun box(): String {
|
|
return Bar.ONE.toString()
|
|
}
|