URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 816 |
Rev 826 |
/* { dg-do compile } */
|
/* { dg-do compile } */
|
/* { dg-options "-std=gnu99" } */
|
/* { dg-options "-std=gnu99" } */
|
|
|
int foo(int i);
|
int foo(int i);
|
|
|
void bar()
|
void bar()
|
{
|
{
|
__complex__ int i;
|
__complex__ int i;
|
X j; /* { dg-error "undeclared|expected" } */
|
X j; /* { dg-error "undeclared|expected" } */
|
/* { dg-message "undeclared identifier is reported only once" "reminder" { target *-*-* } 9 } */
|
/* { dg-message "undeclared identifier is reported only once" "reminder" { target *-*-* } 9 } */
|
if (i = foo(j)) /* { dg-error "undeclared" } */
|
if (i = foo(j)) /* { dg-error "undeclared" } */
|
;
|
;
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.