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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [pr18809-1.c] - Blame information for rev 801

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

Line No. Rev Author Line
1 689 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.