TESTS: new tests added

This commit is contained in:
Konstantin Anisimov
2017-01-20 15:46:55 +07:00
parent 6a1745e8ac
commit 99ef87ec78
4 changed files with 47 additions and 4 deletions
@@ -0,0 +1,14 @@
@Suppress("NOTHING_TO_INLINE")
inline fun foo(vararg args: Int) {
for (a in args) {
println(a.toString())
}
}
fun bar() {
foo(1, 2, 3)
}
fun main(args: Array<String>) {
bar()
}