summaryrefslogtreecommitdiffstats
path: root/src/tools/pg_bsd_indent/tests/struct.0
blob: 83142bfb19729b9c0bd9e4790b20aec48585f55a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* $FreeBSD$ */

int f(struct x *a);

/* See r303485 */
void
t(void)
{
	static const struct {
		int	a;
		int	b;
	} c[] = {
		{ D, E },
		{ F, G }
	};
}

void u(struct x a) {
	int b;
	struct y c = (struct y *)&a;
}