llvm-project/clang/test/SemaCXX/attr-common.cpp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

4 lines
141 B
C++
Raw Normal View History

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