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.5.1/] [gcc/] [testsuite/] [gcc.dg/] [gomp/] [pr34607.c] - Rev 328
Go to most recent revision | Compare with Previous | Blame | View Log
/* PR c++/34607 */ /* { dg-do compile } */ /* { dg-options "-fopenmp -std=gnu99" } */ /* { dg-message "undeclared identifier is reported only once" "reminder" { target *-*-* } 0 } */ void foo () { #pragma omp for for (int i =; i < 2; ++i) /* { dg-error "expected expression before" } */ ; #pragma omp for for (T i = 54; i < 56; i++) /* { dg-error "expected iteration declaration" } */ ; T j; /* { dg-error "undeclared|for each function|expected" } */ #pragma omp for for (j = 1; j < 3; j++) /* { dg-error "undeclared" } */ ; }
Go to most recent revision | Compare with Previous | Blame | View Log