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/] [gcc.dg/] [gomp/] [block-10.c] - Rev 516
Compare with Previous | Blame | View Log
// { dg-do compile } void foo(int i) { int j; switch (i) // { dg-error "invalid entry" } { #pragma omp parallel { case 0:; } } switch (i) // { dg-error "invalid entry" } { #pragma omp for for (j = 0; j < 10; ++ j) { case 1:; } } switch (i) // { dg-error "invalid entry" } { #pragma omp critical { case 2:; } } switch (i) // { dg-error "invalid entry" } { #pragma omp master { case 3:; } } switch (i) // { dg-error "invalid entry" } { #pragma omp sections { case 4:; #pragma omp section { case 5:; } } } switch (i) // { dg-error "invalid entry" } { #pragma omp ordered { default:; } } }