mirror of
https://github.com/opnsense/src.git
synced 2026-02-28 04:10:49 -05:00
16 lines
211 B
C++
16 lines
211 B
C++
|
|
extern "C" int foo(void);
|
||
|
|
static int static_value = 0;
|
||
|
|
|
||
|
|
int
|
||
|
|
bar()
|
||
|
|
{
|
||
|
|
static_value++;
|
||
|
|
return static_value;
|
||
|
|
}
|
||
|
|
|
||
|
|
int main (int argc, char const *argv[])
|
||
|
|
{
|
||
|
|
bar(); // breakpoint_in_main
|
||
|
|
return foo();
|
||
|
|
}
|