Create embedded-5_0-branch branch for development on ARM embedded cores.
[official-gcc.git] / embedded-5_0-branch / 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" }