xref: /minix3/external/bsd/llvm/dist/clang/test/SemaCXX/attr-common.cpp (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
1f4a2713aSLionel Sambuc // RUN: %clang_cc1 -fsyntax-only -verify %s
2f4a2713aSLionel Sambuc 
3*0a6a1f1dSLionel Sambuc __attribute__((common)) int x; // expected-error {{'common' attribute is not supported in C++}}
4