1 // RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++11
2 // RUN: %clang_cc1 -fsyntax-only -verify -std=c2x -x c %s
4 int [[attr
]] i
; // expected-warning {{unknown attribute 'attr' ignored}}
5 (void)sizeof(int [[attr
]]); // expected-warning {{unknown attribute 'attr' ignored}}
9 [[attr
]]; // expected-warning {{unknown attribute 'attr' ignored}}
10 [[attr
]] int i
; // expected-warning {{unknown attribute 'attr' ignored}}