xref: /llvm-project/clang/test/Parser/namespace-alias-attr.cpp (revision 22fe771f78c957e0c1a2f28e31f7129497a3915f)
18fbe78f6SDaniel Dunbar // RUN: %clang_cc1 -verify %s
26b6bba4aSDouglas Gregor 
36b6bba4aSDouglas Gregor namespace A
46b6bba4aSDouglas Gregor {
56b6bba4aSDouglas Gregor }
66b6bba4aSDouglas Gregor 
7*22fe771fSDavid Majnemer namespace B __attribute__ (( static )) = A; // expected-error{{attributes cannot be specified on namespace alias}}
86b6bba4aSDouglas Gregor 
9