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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [pr27953.c] - Blame information for rev 826

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 298 jeremybenn
/* PR c/27953 */
2
 
3
void foo(struct A a) {}  /* { dg-warning "declared inside parameter list" } */
4
/* { dg-warning "its scope is only" "" { target *-*-* } 3 } */
5
/* { dg-error "incomplete type" "" { target *-*-* } 3 } */
6
 
7
void foo() {}            /* { dg-error "redefinition" } */
8
/* { dg-message "note: previous definition" "" { target *-*-* } 3 } */

powered by: WebSVN 2.1.0

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