summaryrefslogtreecommitdiffstats
path: root/packages/Python/lldbsuite/test/expression_command/options/main.cpp
blob: ecd9a90f6626b727e801b181097c1bb7daa41b98 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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();
}
OpenPOWER on IntegriCloud