]> gcc.gnu.org Git - gcc.git/blame - gcc/testsuite/g++.dg/cpp0x/gen-attrs-23.C
PR c++/92590 - wrong handling of inherited default ctor.
[gcc.git] / gcc / testsuite / g++.dg / cpp0x / gen-attrs-23.C
CommitLineData
e28d52cf
DS
1// PR c++/28112
2// { dg-do compile { target c++11 } }
3
4int i [[gnu::init_priority(;)]]; // { dg-error "before" }
5int j [[gnu::vector_size(;)]]; // { dg-error "before" }
6int k [[gnu::visibility(;)]]; // { dg-error "before" }
7struct A {} [[gnu::aligned(;)]]; // { dg-error "before" }
8struct B {} [[gnu::mode(;)]]; // { dg-error "before" }
9void foo() [[gnu::alias(;)]]; // { dg-error "before" }
10void bar() [[gnu::nonnull(;)]]; // { dg-error "before" }
11void baz() [[gnu::section(;)]]; // { dg-error "before" }
This page took 4.627869 seconds and 5 git commands to generate.