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/] [struct-in-proto-1.c] - Rev 328
Go to most recent revision | Compare with Previous | Blame | View Log
/* { dg-do compile } */ /* { dg-options "-w" } */ int foo(struct S { int i; } s) { return sizeof(struct S); /* { dg-bogus "incomplete type" "S visible here" } */ } int bar(void) { return sizeof(struct S); /* { dg-error "incomplete type" "not here" } */ }
Go to most recent revision | Compare with Previous | Blame | View Log