File: struct.0

package info (click to toggle)
pg-bsd-indent 2.1.1-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 520 kB
  • sloc: ansic: 2,875; makefile: 24
file content (21 lines) | stat: -rw-r--r-- 214 bytes parent folder | download | duplicates (5)
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;
}