package testing object O { fun foo() = 42 } fun testing() { O.foo() val o = O o.foo() }