summaryrefslogtreecommitdiff
path: root/clang/test/Parser/namespace-alias-attr.cpp
blob: ba809229a6469f6f975ec85c3f1d543f14511043 (about) (plain)
1
2
3
4
5
6
7
8
// RUN: %clang_cc1 -verify %s

namespace A
{
}

namespace B __attribute__ (( static )) = A; // expected-error{{attributes can not be specified on namespace alias}}