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/] [pr35440.c] - Rev 313
Go to most recent revision | Compare with Previous | Blame | View Log
/* PR c/35440 */ /* { dg-do compile } */ /* { dg-options "-std=gnu99" } */ struct A {}; struct B { int i; char j[2]; }; void foo (void) { (struct A){}(); /* { dg-error "called object" } */ (struct B){ .i = 2, .j[1] = 1 }(); /* { dg-error "called object" } */ }
Go to most recent revision | Compare with Previous | Blame | View Log