Files
kotlin-fork/compiler/testData/ir/irText/expressions/augmentedAssignment1.kt
T
Sergej Jaskiewicz 02180e8685 Factor out duplicated mangling logic for functions into the base class
^KT-57777 Fixed
^KT-57818 Fixed
2023-05-26 10:55:24 +00:00

19 lines
182 B
Kotlin
Vendored

var p = 0
fun testVariable() {
var x = 0
x += 1
x -= 2
x *= 3
x /= 4
x %= 5
}
fun testProperty() {
p += 1
p -= 2
p *= 3
p /= 4
p %= 5
}