OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc2/] [gcc/] [testsuite/] [gcc.dg/] [20020115-1.c] - Diff between revs 298 and 384

Only display areas with differences | Details | Blame | View Log

Rev 298 Rev 384
/* { dg-do compile } */
/* { dg-do compile } */
 
 
/* Test attributes in function arguments.  */
/* Test attributes in function arguments.  */
/* Origin: Aldy Hernandez <aldyh@redhat.com>.  */
/* Origin: Aldy Hernandez <aldyh@redhat.com>.  */
 
 
#define blah __attribute__((__mode__(QI)))
#define blah __attribute__((__mode__(QI)))
 
 
extern void bar(int *);
extern void bar(int *);
 
 
void foo (blah int abc)
void foo (blah int abc)
{
{
 
 
        int b[sizeof(abc) == 1 ? 1 : -1];
        int b[sizeof(abc) == 1 ? 1 : -1];
        bar (b);
        bar (b);
}
}
 
 

powered by: WebSVN 2.1.0

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