summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/gomp/appendix-a/a.27.1.c
blob: faa6ac6212865210a312835752bb63abf7c4c843 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* { dg-do compile } */

void
a27 ()
{
  int i, a;
#pragma omp parallel private(a)
  {
#pragma omp parallel for private(a)
    for (i = 0; i < 10; i++)
      {
	/* do work here */
      }
  }
}