14 // trigger the examination of the offending types
15 static int foo(struct s
*s
, union u
*u
)
17 return __builtin_offsetof(typeof(*s
), f
)
18 + __builtin_offsetof(typeof(*u
), f
);
22 * check-name: flex-array-nested
23 * check-command: sparse -Wflexible-array-nested $file
26 flex-array-nested.c:7:18: warning: nested flexible array
27 flex-array-nested.c:11:18: warning: nested flexible array