OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [gomp/] [pr25996.c] - Rev 816

Compare with Previous | Blame | View Log

/* PR c/25996 */
 
void
test1 (void)
{
#pragma omp for
  for (i = 0; i < 1; ++i); /* { dg-error "undeclared|for each function" } */
}
 
void
test2 (void)
{
  int i;
#pragma omp for
  for (i = j; i < 1; ++i); /* { dg-error "undeclared" } */
}
 
void
test3 (void)
{
  int i;
#pragma omp for
  for (i = 0; i < j; ++i); /* { dg-error "undeclared|invalid controlling predicate" } */
}
 
void
test4 (void)
{
  int i;
#pragma omp for
  for (i = 0; i < 10; i += j); /* { dg-error "undeclared|invalid increment expression" } */
}
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.