Files
kotlin/compiler/testData/codegen/box/enum/publicConstructorWithDefault.kt
2015-07-13 11:59:35 +03:00

10 lines
262 B
Kotlin
Vendored

// KT-8438 org.jetbrains.org.objectweb.asm.tree.analysis.AnalyzerException: Error at instruction 4: Cannot pop operand off an empty stack
enum class E public constructor(x: String = "OK") {
ENTRY();
val result = x
}
fun box(): String = E.ENTRY.result