netbsd/external/bsd/llvm/dist/clang/test/Parser/namespace-alias-attr.cpp
2014-01-15 10:53:42 +01:00

9 lines
165 B
C++

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