blob: 030f4e0bc8bdd94d602bd15739ee53c2c3b594e6 [file]
// RUN_PIPELINE_TILL: CODEGEN
// WITH_STDLIB
// SKIP_TEXT
// ISSUE: KT-29559
fun consume(i: Int) {}
fun consume(c: Char) {}
fun consume(a: Any?) {}
fun test1() {
var a: Any
a = 1
consume(a)
a = 1
consume(a++)
a = 1
consume(++a)
a = 't'
consume(a++)
a = 't'
consume(++a)
consume(a++)
}
/* GENERATED_FIR_TAGS: assignment, functionDeclaration, incrementDecrementExpression, integerLiteral, localProperty,
nullableType, propertyDeclaration, smartcast */