URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 298 |
Rev 338 |
/* Bug 8927: undeclared identifiers should give an error on the line
|
/* Bug 8927: undeclared identifiers should give an error on the line
|
of that identifier, not on the line of the next token. */
|
of that identifier, not on the line of the next token. */
|
/* { dg-do compile } */
|
/* { dg-do compile } */
|
/* { dg-options "" } */
|
/* { dg-options "" } */
|
|
|
void
|
void
|
foo(void)
|
foo(void)
|
{
|
{
|
bar /* { dg-error "undeclared" } */
|
bar /* { dg-error "undeclared" } */
|
/* { dg-message "undeclared identifier is reported only once" "reminder" { target *-*-* } 9 } */
|
/* { dg-message "undeclared identifier is reported only once" "reminder" { target *-*-* } 9 } */
|
|
|
;
|
;
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.