URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [torture/] [pr25183.c] - Rev 801
Go to most recent revision | Compare with Previous | Blame | View Log
/* { dg-do compile } */ /* { dg-options "-pedantic" } */ enum err { err_IO = 0x8a450000, /* { dg-warning "int" } */ err_NM, err_EOF, err_SE, err_PT }; static enum err E_; int error() { switch (E_) { case err_IO : break; case err_NM : break; case err_EOF : break; case err_SE : break; case err_PT : break; default : return 0; } }
Go to most recent revision | Compare with Previous | Blame | View Log