URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc3/] [gcc/] [testsuite/] [g++.old-deja/] [g++.jason/] [jump.C] - Rev 516
Compare with Previous | Blame | View Log
// { dg-do assemble }
// PRMS Id: 6036
extern int a;
int main() {
switch (a) {
case 1:
int v2 = 3; // { dg-error "" } referenced below
case 2: // { dg-error "" } jumping past initializer
if (v2 == 7)
;
}
return 0;
}