Files
kotlin-fork/compiler/testData/codegen/boxMultiFile/kt5445_2.kt
T
Alexander Udalov daab3db062 Add WITH_RUNTIME and WITH_REFLECT directives to box tests
Currently all tests in boxWithStdlib/ run with both runtime and reflection
included; eventually they'll be merged into box/ using these directives
2016-03-03 16:11:21 +03:00

25 lines
263 B
Kotlin
Vendored

// WITH_RUNTIME
// FILE: 1.kt
package test2
import test.A
class C : A() {
fun a(): String {
return this.s
}
}
public fun box(): String {
return C().a()
}
// FILE: 2.kt
package test
open class A {
@JvmField protected val s = "OK";
}