Extract Function: Add test data

This commit is contained in:
Alexey Sedunov
2014-04-10 20:09:13 +04:00
parent 4dec0508a6
commit 0d90dcf010
111 changed files with 1596 additions and 13 deletions
@@ -0,0 +1,16 @@
// NEXT_SIBLING:
fun i(a: A, t: Int, u: Int, x: Int): Int {
return a.bar(t - x, u + x)
}
public class A() {
fun bar(a: Int, b: Int): Int {
return a + b
}
}
fun foo(a: A, x: Int): Int {
val t = 10
val u = 20
return i(a, t, u, x)
}