1*f4a2713aSLionel Sambuc // "System header" for testing that -Warray-bounds is properly suppressed in 2*f4a2713aSLionel Sambuc // certain cases. 3*f4a2713aSLionel Sambuc 4*f4a2713aSLionel Sambuc #define BAD_MACRO_1 \ 5*f4a2713aSLionel Sambuc int i[3]; \ 6*f4a2713aSLionel Sambuc i[3] = 5 7*f4a2713aSLionel Sambuc #define BAD_MACRO_2(_b, _i) \ 8*f4a2713aSLionel Sambuc (_b)[(_i)] = 5 9*f4a2713aSLionel Sambuc #define QUESTIONABLE_MACRO(_a) \ 10*f4a2713aSLionel Sambuc sizeof(_a) > 3 ? (_a)[3] = 5 : 5 11*f4a2713aSLionel Sambuc #define NOP(x) (x) 12