FIR: Update integer literal-related tests
They started failing once we began reporting diagnostics from completion ^KT-46419 Relates
This commit is contained in:
committed by
teamcityserver
parent
42d387925d
commit
cd401b5b8a
+3
-1
@@ -1,5 +1,7 @@
|
||||
// IGNORE_BACKEND_FIR: JVM_IR
|
||||
|
||||
fun box(): String {
|
||||
val a: Long = -(1 shl 31)
|
||||
if (a != -2147483648L) return "fail: in this case we should add to ints and than cast the result to long - overflow expected"
|
||||
return "OK"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user