aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/linear/goto-and-expr-stmt0.c
blob: 54881353177980e96d63004b65f423b44bf54d8c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
int t(void)
{
	goto inside;
	return 1 ? 2 : ({
inside:
			return 3;
			4;
		    });
}

void f(int x, int y)
{
	1 ? x : ({
a:
		 y;
	});
	goto a;
}

/*
 * check-name: goto-and-expr-stmt0
 * check-command: test-linearize -Wno-decl $file
 * check-known-to-fail
 *
 * check-output-ignore
 * check-output-excludes: END
 * check-error-ignore
 */