URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [empty2.c] - Rev 329
Go to most recent revision | Compare with Previous | Blame | View Log
/* { dg-do compile } */ /* { dg-options "-pedantic" } */ double d=0; struct A {} a; /* { dg-warning "struct has no members" } */ void foo(struct A x) { d=0; } void bar() { if (d) foo(a); }
Go to most recent revision | Compare with Previous | Blame | View Log