Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/gen-attrs-23.C

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