OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [ext/] [attrib23.C] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
// 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" }

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.