Files
kotlin-fork/compiler/testData/codegen/boxMultiFile/kt9717DifferentPackages.kt
T
Alexander Udalov e0b6f12737 Migrate boxMultiFile and boxMultifileClass tests to new multi-file tests
AbstractCompileKotlinAgainstMultifileKotlinTest is broken in this commit; will
be fixed later
2016-02-27 15:40:03 +03:00

24 lines
259 B
Kotlin
Vendored

// FILE: a.kt
package a
import b.*
fun box(): String {
BB().ok()
return BB().OK
}
// FILE: b.kt
package b
public open class B {
public var OK: String = "OK"
protected set
}
public class BB : B() {
public fun ok(): String = OK
}