Debian Codegraph @

lldb/test/API/commands/frame/diagnose/dereference-this/main.cpp

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