BC native tests port to Konan's TestRunner

This commit is contained in:
Pavel Punegov
2017-10-11 15:09:33 +03:00
parent 9b07fd61ce
commit 9d077d7f4f
352 changed files with 1798 additions and 384 deletions
@@ -1,12 +1,16 @@
class Test {
package codegen.propertyCallableReference.dynamicReceiver
import kotlin.test.*
class TestClass {
var x: Int = 42
}
fun foo(): Test {
fun foo(): TestClass {
println(42)
return Test()
return TestClass()
}
fun main(args: Array<String>) {
@Test fun runTest() {
foo()::x
}