BC native tests port to Konan's TestRunner
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
package codegen.inline.inline10
|
||||
|
||||
import kotlin.test.*
|
||||
|
||||
@Suppress("NOTHING_TO_INLINE")
|
||||
inline fun foo(i2: Int, body: () -> Int): Int {
|
||||
return i2 + body()
|
||||
@@ -7,6 +11,6 @@ fun bar(i1: Int): Int {
|
||||
return foo(i1) { 1 }
|
||||
}
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
@Test fun runTest() {
|
||||
println(bar(1).toString())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user