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.2.2/] [gcc/] [testsuite/] [gcc.dg/] [Wunreachable-3.c] - Rev 405
Go to most recent revision | Compare with Previous | Blame | View Log
/* PR c/10175 */ /* { dg-do compile } */ /* { dg-options "-Wunreachable-code" } */ int i,j; int main(void) { if (0) { i = 0; /* { dg-warning "will never be executed" "" } */ j = 0; } else { i = 1; j = 1; } return 0; }
Go to most recent revision | Compare with Previous | Blame | View Log