Files
kotlin-fork/compiler/testData/codegen/box/arrays/arraysOfInlineClass/accessArrayOfUnsigned.kt
T

13 lines
212 B
Kotlin
Vendored

// KJS_WITH_FULL_RUNTIME
// WITH_RUNTIME
// IGNORE_BACKEND: JVM_IR
val xs = Array(2) { 42u }
fun box(): String {
xs[0] = 12u
val t = xs[0]
if (t != 12u) throw AssertionError("$t")
return "OK"
}