blob: 3de71d907eb5bfa2a80a513dd7172c4a1c620b44 [file]
class Foo {
init {Foo.test}
companion object {
private var test = "String"
// Custom setter is needed, otherwise no need to generate setTest
set(v) { field = v }
}
}
// TESTED_OBJECT_KIND: function
// TESTED_OBJECTS: Foo$Companion, setTest
// FLAGS: ACC_PRIVATE, ACC_FINAL