blob: 1c1c63132689780b8b31fdf91c11d4e83a5bf226 [file] [log] [blame]
// "Replace with 'newFun()'" "true"
// WITH_RUNTIME
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