netbsd/external/bsd/llvm/dist/clang/test/Parser/namespace-alias-attr.cpp
2015-10-15 10:25:28 +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}}