summaryrefslogtreecommitdiffstats
path: root/test/Parser/namespace-alias-attr.cpp
blob: 9e4072cde22527adc56e6dc147eeba3bdc8fd38c (plain)
1
2
3
4
5
6
7
8
// RUN: clang-cc -verify %s

namespace A
{
}

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

OpenPOWER on IntegriCloud