xref: /netbsd-src/tests/usr.bin/xlint/lint1/d_bltinoffsetof.c (revision d16b7486a53dcb8072b60ec6fcb4373a2d0c27b7)
1 /*	$NetBSD: d_bltinoffsetof.c,v 1.2 2021/01/31 14:39:31 rillig Exp $	*/
2 # 3 "d_bltinoffsetof.c"
3 
4 struct foo {
5 	int a;
6 	char *b;
7 };
8 
9 
10 int
11 main(void)
12 {
13 	return __builtin_offsetof(struct foo, b);
14 }
15