e2f75463d7
Don't reconfigure runtime before every test. For consistency, mark tests that require the runtime with directives instead of relying on test file names.
17 lines
235 B
Plaintext
Vendored
17 lines
235 B
Plaintext
Vendored
// "Replace with 'newFun()'" "true"
|
|
// WITH_RUNTIME
|
|
|
|
@Deprecated("", ReplaceWith("newFun()"))
|
|
fun oldFun(p: Int): Int {
|
|
return newFun()
|
|
}
|
|
|
|
fun newFun(): Int = 0
|
|
|
|
fun foo(): Int {
|
|
bar()
|
|
return newFun()
|
|
}
|
|
|
|
fun bar(): Int = 0
|