xref: /netbsd-src/tests/usr.bin/xlint/lint1/d_bltinoffsetof.c (revision bdc22b2e01993381dcefeff2bc9b56ca75a4235c)
1 
2 struct foo {
3 	int a;
4 	char *b;
5 };
6 
7 
8 int
9 main(void)
10 {
11 	return __builtin_offsetof(struct foo, b);
12 }
13