daab3db062
Currently all tests in boxWithStdlib/ run with both runtime and reflection included; eventually they'll be merged into box/ using these directives
25 lines
263 B
Kotlin
Vendored
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";
|
|
}
|