summaryrefslogtreecommitdiff
path: root/test/Debugger/funccall.c
blob: 4d016ecd017a0707f50350a390975ac4f9e27d27 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

static int q;

void foo() {
  int t = q;
  q = t + 1;
}
int main() {
  q = 0;
  foo();
  q = q - 1;

  return q;
}

// This is the source that corresponds to funccall.ll
// RUN: exit 0