summaryrefslogtreecommitdiffstats
path: root/gnu/llvm/lldb/packages/Python/lldbsuite/test/lang/c/local_variables/main.c
blob: 2ab579a71a75796615e5983955f63dfea51e52b7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include <stdio.h>

void bar(unsigned i)
{
  printf("%d\n", i);
}

void foo(unsigned j)
{
  unsigned i = j;
  bar(i);
  i = 10;
  bar(i); // Set break point at this line.
}

int main(int argc, char** argv)
{
  foo(argc);
}