mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-03-10 08:31:29 +00:00
13 lines
216 B
Kotlin
Vendored
13 lines
216 B
Kotlin
Vendored
// IGNORE_BACKEND_FIR: JVM_IR
|
|
// KJS_WITH_FULL_RUNTIME
|
|
// WITH_RUNTIME
|
|
|
|
val xs = Array(2) { 42u }
|
|
|
|
fun box(): String {
|
|
xs[0] = 12u
|
|
val t = xs[0]
|
|
if (t != 12u) throw AssertionError("$t")
|
|
|
|
return "OK"
|
|
} |