xref: /netbsd-src/tests/usr.bin/xlint/lint1/d_bltinoffsetof.c (revision c38e7cc395b1472a774ff828e46123de44c628e9)
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