URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [struct-in-proto-1.c] - Rev 774
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