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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [gomp/] [pr25996.C] - Blame information for rev 774

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
// PR c/25996
2
 
3
void
4
test1 (void)
5
{
6
#pragma omp for
7
  for (i = 0; i < 1; ++i); // { dg-error "not declared|expected iteration decl" }
8
}
9
 
10
void
11
test2 (void)
12
{
13
  int i;
14
#pragma omp for
15
  for (i = j; i < 1; ++i); // { dg-error "not declared|expected iteration decl" }
16
}
17
 
18
void
19
test3 (void)
20
{
21
  int i;
22
#pragma omp for
23
  for (i = 0; i < j; ++i); // { dg-error "not declared|invalid controlling predicate" }
24
}
25
 
26
void
27
test4 (void)
28
{
29
  int i;
30
#pragma omp for
31
  for (i = 0; i < 10; i += j); // { dg-error "not declared|invalid increment expression" }
32
}

powered by: WebSVN 2.1.0

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