Merge from mainline (167278:168000).
[official-gcc/graphite-test-results.git] / gcc / testsuite / g++.dg / ext / attrib23.C
blob0a2c58689e25597876981f87a2dd2043095ce67f
1 // PR c++/28112
2 // { dg-do compile }
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" }