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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [pr18809-1.c] - Rev 826

Compare with Previous | Blame | View Log

/* PR c/18809 */
/* Origin: Andrew Pinski <pinskia@gcc.gnu.org> */
 
/* { dg-do compile } */
 
void foo(enum E e) {}   /* { dg-error "forward ref" "forward" } */
			/* { dg-warning "declared" "declared" { target *-*-* } 6 } */
			/* { dg-warning "scope" "scope" { target *-*-* } 6 } */
			/* { dg-error "incomplete" "incomplete" { target *-*-* } 6 } */
void bar() { foo(0); }
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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