llvm-for-llvmta/tools/clang/test/Parser/namespace-alias-attr.cpp
Nils Hölscher 7f403f4f1e added clang
2022-04-25 13:02:35 +02:00

9 lines
164 B
C++

// RUN: %clang_cc1 -verify %s
namespace A
{
}
namespace B __attribute__ (( static )) = A; // expected-error{{attributes cannot be specified on namespace alias}}