summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/gomp/pr25874.c
blob: 2afd02ea326ca6d8316478469513e9e52f09950d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* { dg-options "-O -fopenmp" } */

void foo();

inline void bar()
{
  int i;
  for ( i=0; i<1; ++i )
#pragma omp parallel
    foo();
}

void baz()
{
#pragma omp parallel
  bar();
}