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

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [gcc.dg/] [pr8927-1.c] - Diff between revs 298 and 338

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 } */
 
 
  ;
  ;
}
}
 
 

powered by: WebSVN 2.1.0

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