aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/linear/unreachable-label0.c
blob: 695e5cb072d0875da74cdd9ac4ffc43a423e5079 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
static int foo(int a)
{
	goto label;
	switch(a) {
	default:
label:
		break;
	}
	return 0;
}

/*
 * check-name: unreachable-label0
 * check-command: test-linearize $file
 *
 * check-output-ignore
 * check-output-contains: ret\\.
 * check-output-excludes: END
 */