Files
kotlin/compiler/testData/codegen/boxWithJava/visibility/protectedStatic/simpleProperty.kt
Alexander Udalov b485c7ae26 Switch class loading logic in blackBoxWithJava tests
BoxWithJava tests now by default are loaded with the classloader which has
test's classpath in itself, as in the former ClassPathInTheSameClassLoaderTest
2013-02-11 02:01:42 +04:00

11 lines
170 B
Kotlin

class Derived(): simpleProperty() {
fun test(): String {
return simpleProperty.protectedProperty!!
}
}
fun box(): String {
return Derived().test()
}