Files
kotlin-fork/compiler/testData/codegen/box/statics/protectedStaticAndInline.kt
T
2016-11-09 21:41:12 +03:00

30 lines
457 B
Kotlin
Vendored

// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// FILE: First.java
public abstract class First {
protected static String TEST = "O";
protected static String test() {
return "K";
}
}
// FILE: Kotlin.kt
package anotherPackage
import First
class Test : First() {
inline fun doTest(): String {
return TEST + test()
}
}
fun box(): String {
return Test().doTest()
}