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

void XAXIS ();
void YAXIS ();
void ZAXIS ();
void
a9 ()
{
#pragma omp parallel sections
  {
#pragma omp section
    XAXIS ();
#pragma omp section
    YAXIS ();
#pragma omp section
    ZAXIS ();
  }
}