blob: d449a1f6679d113192a48b30ca9ea53062c50c40 [file]
// WITH_STDLIB
import kotlin.test.*
@Suppress("NOTHING_TO_INLINE")
inline private fun foo(i: Int): Int {
val result = i
return result + i
}
fun bar(): Int {
return foo(1) + foo(2)
}
fun box(): String {
assertEquals(6, bar())
return "OK"
}