☰
Debian Codegraph
@
1:22.1.8-2
1:22.1.8-1
1:22.1.7-1
/
/
lldb
/
test
/
API
/
commands
/
frame
/
diagnose
/
dereference-this
/
main.cpp
☽
☼
lldb/test/API/commands/frame/diagnose/dereference-this/main.cpp
code
plain
raw
APACHE-2-LLVM-EXCEPTIONS
2003-2017 University of Illinois at Urbana-Champaign.
debian/copyright
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