aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/backend/loop2.c
blob: d827b5d327bad2ffe9b385709f5f4a89292e9e80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
extern int op(void);

static void test(void)
{
	int i;
	for (i = 0; ; i++) {
		op();
	}
}

/*
 * check-name: Loops with unused counter
 * check-command: sparsec -c $file -o tmp.o
 */