llvm-project/clang/test/Parser/namespace-alias-attr.cpp
2009-06-17 19:49:00 +00:00

9 lines
163 B
C++

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