1 /* $NetBSD: d_c99_anon_union.c,v 1.4 2021/02/20 22:31:20 rillig Exp $ */ 2 # 3 "d_c99_anon_union.c" 3 4 /* struct with only anonymous members */ 5 6 struct foo { 7 union { 8 long loo; 9 double doo; 10 }; 11 }; 12 13 int printf(const char *, ...); 14 15 int 16 main(void) 17 { 18 struct foo *f = 0; 19 printf("%p\n", &f[1]); 20 return 0; 21 } 22