summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/gomp/pr27499.C
blob: 4e0d5b1a5b80389a6a48f24110b634afb9f0a093 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// PR c/27499
// { dg-do compile }

extern void bar (unsigned int);

void
foo (void)
{
  unsigned int i;
#pragma omp for
  for (i = 0; i < 64; ++i)
    bar (i);
}