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