JVM_IR KT-29822 KT-48669 loop over unsigned array, indices, withIndex
This commit is contained in:
committed by
TeamCityServer
parent
2cc6b589f3
commit
be28b3c74d
+3
-1
@@ -47,7 +47,9 @@ fun testLong() {
|
||||
s += i
|
||||
if (t > 2) throw Exception("too many iterations: $t")
|
||||
}
|
||||
if (s != "-9223372036854775807-9223372036854775808") throw Exception(s)
|
||||
if (s != "-9223372036854775807-9223372036854775808" &&
|
||||
s != "-9223372036854776000-9223372036854776000" // JS
|
||||
) throw Exception(s)
|
||||
}
|
||||
|
||||
fun testChar() {
|
||||
|
||||
Reference in New Issue
Block a user