summaryrefslogtreecommitdiff
path: root/test/Debugger/funccall.c
blob: b99a8851d315b78fede44c098349e4abe92f44bb (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