12 lines · c
1// "System header" for testing that -Warray-bounds is properly suppressed in2// certain cases.3 4#define BAD_MACRO_1 \5 int i[3]; \6 i[3] = 57#define BAD_MACRO_2(_b, _i) \8 (_b)[(_i)] = 59#define QUESTIONABLE_MACRO(_a) \10 sizeof(_a) > 3 ? (_a)[3] = 5 : 511#define NOP(x) (x)12