xref: /llvm-project/clang/test/Parser/namespace-alias-attr.cpp (revision 22fe771f78c957e0c1a2f28e31f7129497a3915f)
1 // RUN: %clang_cc1 -verify %s
2 
3 namespace A
4 {
5 }
6 
7 namespace B __attribute__ (( static )) = A; // expected-error{{attributes cannot be specified on namespace alias}}
8 
9