blob: 48f5e94fcc640abe2904a5c7b117cbcd4fdb0ec0 [file]
class Foo {
init {Foo.test}
companion object {
private val test = "String"
// Custom getter is needed, otherwise no need to generate getTest
get() = field
}
}
// TESTED_OBJECT_KIND: function
// TESTED_OBJECTS: Foo$Companion, getTest
// FLAGS: ACC_PRIVATE, ACC_FINAL