summaryrefslogtreecommitdiff
path: root/usr.bin/indent/tests/struct.0
blob: 784d387cc717a62bcc00918035e8da2e1348f57f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

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;
}