URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [gomp/] [sections-2.c] - Rev 816
Compare with Previous | Blame | View Log
/* { dg-do compile } */ extern void bar(int); void foo(void) { #pragma omp sections bar (0); // { dg-error "expected" } #pragma omp sections { } // { dg-error "expected" } #pragma omp sections { bar (1); } #pragma omp sections { #pragma omp section bar(2); bar(3); // { dg-error "expected" } bar(4); #pragma omp section bar(5); bar(6); // { dg-error "expected" } bar(7); } }