Files
kotlin-fork/compiler/testData/codegen/box/arrays/arraysOfInlineClass/accessArrayOfUnsigned.kt
T
Mikhail Zarechenskiy d28488eaed Remove WITH_UNSIGNED directive from tests
#KT-25226 Fixed
2018-11-13 11:48:32 +03:00

12 lines
187 B
Kotlin
Vendored

// 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"
}