[FIR] Support constant unary operators for integer literal operators
^KT-38895
This commit is contained in:
committed by
teamcity
parent
52b72a7dac
commit
1591518cf6
@@ -1,6 +1,3 @@
|
||||
// IGNORE_BACKEND_FIR: JVM_IR
|
||||
// FIR status: don't support legacy feature; for reasons this test is ignored, go to KT-46419
|
||||
|
||||
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"
|
||||
|
||||
Reference in New Issue
Block a user