Files
kotlin-fork/compiler/testData/codegen/box/regressions/kt14447.kt
T
2019-11-19 11:00:09 +03:00

24 lines
346 B
Kotlin
Vendored

// IGNORE_BACKEND_FIR: JVM_IR
class ImpulsMigration
{
fun migrate(oldVersion: Long)
{
var _oldVersion = oldVersion
if (4 > 3)
{
_oldVersion = 1
}
if (1 > 3)
{
_oldVersion++
}
}
}
fun box(): String {
ImpulsMigration().migrate(1L)
return "OK"
}