aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/backend/loop2.c
blob: 279af21460c3ad48354dd5c9054b8a203c642422 (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
 */