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