BC native tests port to Konan's TestRunner
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
package codegen.inline.inline16
|
||||
|
||||
import kotlin.test.*
|
||||
|
||||
@Suppress("NOTHING_TO_INLINE")
|
||||
inline fun <T, C : MutableCollection<in T>> foo(destination: C, predicate: (T) -> Boolean): C {
|
||||
for (element in destination) {
|
||||
@@ -12,6 +16,6 @@ fun bar(): Boolean {
|
||||
return result.isEmpty()
|
||||
}
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
@Test fun runTest() {
|
||||
println(bar().toString())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user