1 // RUN: %clang_cc1 -isystem %S/Inputs -verify %s
2 #include <array-bounds-system-header.h>
3 void test_system_header_macro() {
4 BAD_MACRO_1
; // no-warning
5 char a
[3]; // expected-note 2 {{declared here}}
6 BAD_MACRO_2(a
, 3); // expected-warning {{array index 3}}
8 NOP(a
[3] = 5); // expected-warning {{array index 3}}