blob: 9735e3470570eb85cc58b981a1d98ef9f1b1fa34 (
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: echo foo
|