aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/kill-computedgoto.c
blob: 3b3ed8ff26cf622de154ea1f1055b76cf4077847 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
void foo(int a);
void foo(int a)
{
	void *l = &&end + 3;

end:
	if (a * 0)
		goto *l;
}

/*
 * check-name: kill-computedgoto
 * check-command: test-linearize $file
 *
 * check-output-ignore
 * check-output-excludes: add\\.
 */