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