mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-29 06:36:06 +00:00

Weird constructs like __attribute__((inline)) or __attibute__((typename)) should result in warnings, not errors. llvm-svn: 225118
9 lines
164 B
C++
9 lines
164 B
C++
// RUN: %clang_cc1 -verify %s
|
|
|
|
namespace A
|
|
{
|
|
}
|
|
|
|
namespace B __attribute__ (( static )) = A; // expected-error{{attributes cannot be specified on namespace alias}}
|
|
|