1// PR c++/33372
2// { dg-do compile }
3// { dg-options "-fopenmp" }
4
5template <typename T>
6void f ()
7{
8  T n = 6;
9#pragma omp parallel num_threads(n)
10  ;
11#pragma omp parallel for schedule(static, n)
12  for (int i = 0; i < 10; i++)
13    ;
14}
15
16void g ()
17{
18  f<int> ();
19}
20