summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/gomp/complex-1.c
blob: 0858ac9d3fa75ed26d361f5e8112d84e6cc76fa5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* { dg-do compile } */
/* { dg-options "-fopenmp -O1" } */
/* PR middle-end/30143 */


int f (int n)
{
  int i;
  _Complex float t;
#pragma omp parallel
    for (i = 1; i < n - 1; ++i)
      t+=1;
}