| 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 |
| 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 |