blob: 8140bf196df33b2a8e168585da5f3b5e6574e09b [file]
// RUN_PIPELINE_TILL: CODEGEN
class Wrapper<T>(var x: T)
inline fun <reified T> change(w: Wrapper<T>, x: Any?) {
if (x is T) {
w.x = x
}
}
/* GENERATED_FIR_TAGS: assignment, classDeclaration, functionDeclaration, ifExpression, inline, isExpression,
nullableType, primaryConstructor, propertyDeclaration, reified, smartcast, typeParameter */