12 // trigger the examination of the offending types
13 static int foo(struct s
*s
, union u
*u
)
15 return __builtin_offsetof(typeof(*s
), i
)
16 + __builtin_offsetof(typeof(*u
), i
);
20 * check-name: flex-array-error
23 flex-array-error.c:3:14: error: flexible array member 'f' is not last
24 flex-array-error.c:9:14: error: flexible array member 'f' in a union