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