1 /*        $NetBSD: d_c99_anon_union.c,v 1.5 2023/03/28 14:44:34 rillig Exp $    */
2 # 3 "d_c99_anon_union.c"
3 
4 /* struct with only anonymous members */
5 
6 /* lint1-extra-flags: -X 351 */
7 
8 struct foo {
9           union {
10                     long loo;
11                     double doo;
12           };
13 };
14 
15 int printf(const char *, ...);
16 
17 int
main(void)18 main(void)
19 {
20           struct foo *f = 0;
21           printf("%p\n", &f[1]);
22           return 0;
23 }
24