struct Adder { var base: Int func /*test:def*/callAsFunction(_ x: Int) -> Int { return base + x } } let add3 = Adder(base: 3) _ = add3/*test:call*/(10) _ = add3 . /*test:call*/callAsFunction(10) _ = add3 . /*test:ref*/callAsFunction(_:) _ = add3 . /*test:ref*/callAsFunction