17 lines
248 B
C++
17 lines
248 B
C++
extern "C" int foo(void);
|
|
static int static_value = 0;
|
|
static int id = 1234;
|
|
|
|
int
|
|
bar()
|
|
{
|
|
static_value++;
|
|
id++;
|
|
return static_value + id;
|
|
}
|
|
|
|
int main (int argc, char const *argv[])
|
|
{
|
|
bar(); // breakpoint_in_main
|
|
return foo();
|
|
}
|