opnsense-src/test/Parser/namespace-alias-attr.cpp

9 lines
165 B
C++
Raw Normal View History

2010-01-01 05:34:51 -05:00
// RUN: %clang_cc1 -verify %s
2009-06-22 04:08:35 -04:00
namespace A
{
}
namespace B __attribute__ (( static )) = A; // expected-error{{attributes can not be specified on namespace alias}}