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

12 lines
199 B
Kotlin
Vendored

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