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
@@ -1,12 +1,14 @@
//@Suppress("NOTHING_TO_INLINE")
//inline fun foo(body: () -> Unit) {
fun foo(body: () -> Unit) {
@Suppress("NOTHING_TO_INLINE")
inline fun foo(body: () -> Unit) {
println("hello1")
body()
println("hello4")
}
fun bar() {
foo {
println("hello")
println("hello2")
println("hello3")
}
}