1 struct Foo { 2 int a; 3 int b; SumFoo4 int Sum() { return a + b; } 5 }; 6 GetAFoo()7 struct Foo *GetAFoo() { 8 return (struct Foo*)0; 9 } 10 main()11 int main() { 12 struct Foo *foo = GetAFoo(); 13 return foo->Sum(); 14 } 15 16