summaryrefslogtreecommitdiff
path: root/libgomp/testsuite/libgomp.c/appendix-a/a.5.1.c
blob: b909c4ddbc5859f08c607c121a7199417119c2a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* { dg-do run } */

#include <omp.h>
int
main ()
{
  omp_set_dynamic (1);
#pragma omp parallel num_threads(10)
  {
    /* do work here */
  }
  return 0;
}