TESTS: new tests added

This commit is contained in:
Konstantin Anisimov
2017-01-18 17:21:04 +07:00
parent faf64ec330
commit 551218c133
5 changed files with 49 additions and 9 deletions
@@ -0,0 +1,13 @@
@Suppress("NOTHING_TO_INLINE")
inline fun foo(i4: Int, i5: Int): Int {
if (i4 > 0) return i4
return i5
}
fun bar(i1: Int, i2: Int): Int {
return foo(i1, i2)
}
fun main(args: Array<String>) {
println(bar(1, 8).toString())
}