interface B { } val a = object : B { } val c = a