aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/infinite-loop02.c
blob: 22028473a0935d679356394a1574d477a335e13e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
void foo(void)
{
	int a = 1;
	while ((a = !a))
		;
}

/*
 * check-name: infinite loop 02
 * check-command: sparse -Wno-decl $file
 * check-timeout:
 */