mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-10 00:21:35 +00:00
13 lines
214 B
Kotlin
Vendored
13 lines
214 B
Kotlin
Vendored
// IGNORE_BACKEND_FIR: JVM_IR
|
|
// IGNORE_BACKEND: JS
|
|
|
|
|
|
enum class Test(vararg xs: Int) {
|
|
OK {
|
|
fun foo() {}
|
|
};
|
|
val xs = xs
|
|
}
|
|
|
|
fun box(): String =
|
|
if (Test.OK.xs.size == 0) "OK" else "Fail" |