blob: 6a93639b3a58a63e161297e8e102a889991c9366 [file]
// "Replace with 'newFun()'" "true"
class C {
@Deprecated("", ReplaceWith("newFun()"))
fun oldFun(): Int {
return newFun()
}
}
fun newFun(): Int = 0
fun foo(): Int? {
return getC()?.<caret>oldFun()
}
fun getC(): C? = null