// "Create member property 'A.Companion.foo'" "true" // ERROR: Property must be initialized or be abstract class A(val n: T) { companion object { } } fun test() { val a: Int = A.foo }