llvm-for-llvmta/tools/clang/test/SemaCXX/attr-common.cpp

4 lines
141 B
C++
Raw Normal View History

2022-04-25 13:02:35 +02:00
// RUN: %clang_cc1 -fsyntax-only -verify %s
__attribute__((common)) int x; // expected-error {{'common' attribute is not supported in C++}}