aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/optim/trivial-phi01.c
blob: 40bd343b514ffcb28a9e29cba2634674470ab1ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
void foo(int a)
{
	if (a) {
		while (a) {
			switch (0) {
			default:
				a = 0;
			case 0:;
			}
		}
	}
}

/*
 * check-name: trivial-phi01
 * check-command: test-linearize -Wno-decl $file
 *
 * check-output-ignore
 * check-output-excludes: phi\\.
 */