| 1 |
// PR c++/28112 |
| 2 |
// { dg-do compile } |
| 3 |
|
| 4 |
int i __attribute__((init_priority(;))); // { dg-error "before" } |
| 5 |
int j __attribute__((vector_size(;))); // { dg-error "before" } |
| 6 |
int k __attribute__((visibility(;))); // { dg-error "before" } |
| 7 |
struct A {} __attribute__((aligned(;))); // { dg-error "before" } |
| 8 |
struct B {} __attribute__((mode(;))); // { dg-error "before" } |
| 9 |
void foo() __attribute__((alias(;))); // { dg-error "before" } |
| 10 |
void bar() __attribute__((nonnull(;))); // { dg-error "before" } |
| 11 |
void baz() __attribute__((section(;))); // { dg-error "before" } |