1 | extern "C"int foo(void); |
---|---|
2 | static int static_value = 0; |
3 | static int id = 1234; |
4 | |
5 | int |
6 | bar() |
7 | { |
8 | static_value++; |
9 | id++; |
10 | return static_value + id; |
11 | } |
12 | |
13 | int main (int argc, char const *argv[]) |
14 | { |
15 | bar(); // breakpoint_in_main |
16 | return foo(); |
17 | } |
18 |