blob: 5ed11fd828d329ab62c7aafb842be632f3678cb8 [file] [log] [blame]
// "Replace with 'newFun(p, p)'" "true"
// WITH_RUNTIME
@Deprecated("", ReplaceWith("newFun(p, p)"))
fun oldFun(p: Int): Int {
return newFun(p, p)
}
fun newFun(p1: Int, p2: Int): Int = 0
fun foo(): Int {
var v = 0
val p = v++
return newFun(p, p)
}