summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/gomp/pr27328.c
blob: afde738a725d2f9d804b19fca7806d4ddc6af38d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* PR middle-end/27328 */
/* { dg-do compile } */

extern void baz (void) __attribute__((noreturn));

void
foo (void)
{
#pragma omp parallel
  for (;;)
    ;
}

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