struct Foo {
int a;
int b;
int Sum() { return a + b; }
};
struct Foo *GetAFoo() {
return (struct Foo*)0;
}
int main() {
struct Foo *foo = GetAFoo();
return foo->Sum();
}
struct Foo {
int a;
int b;
int Sum() { return a + b; }
};
struct Foo *GetAFoo() {
return (struct Foo*)0;
}
int main() {
struct Foo *foo = GetAFoo();
return foo->Sum();
}