Debian Codegraph @

lldb/test/API/commands/frame/recognizer/main.c

raw
1 #include <stdio.h>
2
3 void foo(int a, int b) { printf("%d %d\n", a, b); }
4
5 void bar(int *ptr) { printf("%d\n", *ptr); }
6
7 void nested(int *ptr) { bar(ptr); }
8
9 void baz(int *ptr) { nested(ptr); }
10
11 int main(int argc, const char *argv[]) {
12 foo(42, 56);
13 int i = 78;
14 bar(&i);
15 baz(&i);
16 return 0;
17 }