minix/external/bsd/llvm/dist/clang/test/Parser/namespace-alias-attr.cpp

9 lines
165 B
C++
Raw Normal View History

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