JVM: Fix unsigned literals in API version < 1.5

This commit is contained in:
Steven Schäfer
2021-04-22 13:53:08 +02:00
committed by TeamCityServer
parent af2d0ad36f
commit a1c1a32515
10 changed files with 56 additions and 1 deletions
@@ -0,0 +1,12 @@
// !API_VERSION: 1.4
// KJS_WITH_FULL_RUNTIME
// WITH_RUNTIME
val x = 0u
val y = 0uL
fun box(): String {
if (x != 0u) return "Fail 1"
if (y != 0uL) return "Fail 2"
return "OK"
}