[IR] add testdata for dumpKotlinLike

This commit is contained in:
Zalim Bashorov
2020-11-05 02:47:53 +03:00
committed by teamcityserver
parent d2022ab115
commit 8d5facb15f
365 changed files with 15516 additions and 0 deletions
@@ -0,0 +1,44 @@
fun test1(a: Int, b: Int): Int {
return a.plus(other = b)
}
fun test2(a: Int, b: Int): Int {
return a.minus(other = b)
}
fun test3(a: Int, b: Int): Int {
return a.times(other = b)
}
fun test4(a: Int, b: Int): Int {
return a.div(other = b)
}
fun test5(a: Int, b: Int): Int {
return a.rem(other = b)
}
fun test6(a: Int, b: Int): IntRange {
return a.rangeTo(other = b)
}
fun test1x(a: Int, b: Int): Int {
return a.plus(other = b)
}
fun test2x(a: Int, b: Int): Int {
return a.minus(other = b)
}
fun test3x(a: Int, b: Int): Int {
return a.times(other = b)
}
fun test4x(a: Int, b: Int): Int {
return a.div(other = b)
}
fun test5x(a: Int, b: Int): Int {
return a.rem(other = b)
}