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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [pr18809-1.c] - Blame information for rev 313

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 298 jeremybenn
/* PR c/18809 */
2
/* Origin: Andrew Pinski <pinskia@gcc.gnu.org> */
3
 
4
/* { dg-do compile } */
5
 
6
void foo(enum E e) {}   /* { dg-error "forward ref" "forward" } */
7
                        /* { dg-warning "declared" "declared" { target *-*-* } 6 } */
8
                        /* { dg-warning "scope" "scope" { target *-*-* } 6 } */
9
                        /* { dg-error "incomplete" "incomplete" { target *-*-* } 6 } */
10
void bar() { foo(0); }

powered by: WebSVN 2.1.0

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