Files
kotlin-fork/backend.native/tests/codegen/inline/inline2.kt
T
2017-10-20 18:25:05 +03:00

17 lines
237 B
Kotlin

package codegen.inline.inline2
import kotlin.test.*
@Suppress("NOTHING_TO_INLINE")
inline fun foo(i4: Int, i5: Int) {
println("hello $i4 $i5")
}
fun bar(i1: Int, i2: Int) {
foo(i1, i2)
}
@Test fun runTest() {
bar(1, 8)
}