aboutsummaryrefslogtreecommitdiff
path: root/packages/Python/lldbsuite/test/functionalities/postmortem/minidump/main.cpp
blob: 4037ea522cac59038551ecd61be93d28cc022cab (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
int global = 42;

int
bar(int x)
{
  int y = 4*x + global;
  return y;
}

int
foo(int x)
{
  int y = 2*bar(3*x);
  return y;
}

int
main()
{
  return 0 * foo(1);
}