[K/N] Fix cleaning stack-local primitive array
^KT-55984
This commit is contained in:
committed by
Space Team
parent
9f850c1179
commit
2843c0ad1e
+10
@@ -0,0 +1,10 @@
|
||||
// WITH_STDLIB
|
||||
|
||||
fun box() : String{
|
||||
for (iter in 0 until 10) {
|
||||
val destination = ByteArray(8)
|
||||
if (destination[0] != 0.toByte()) return "FAIL"
|
||||
destination[0] = 1
|
||||
}
|
||||
return "OK"
|
||||
}
|
||||
Reference in New Issue
Block a user