15 #pragma omp target map(a)
16 #pragma omp teams num_teams (foo ())
18 int i
= omp_get_team_num ();
19 if (omp_get_num_teams () != 934
20 || (unsigned) i
>= 934U
25 #pragma omp target map(a)
26 #pragma omp teams num_teams (foo () - 50 : foo ())
28 int i
= omp_get_team_num ();
29 int j
= omp_get_num_teams ();
32 || (unsigned) i
>= (unsigned) j
37 #pragma omp target teams map(a) num_teams (foo () / 2)
39 int i
= omp_get_team_num ();
40 if (omp_get_num_teams () != 467
41 || (unsigned) i
>= 467U
46 #pragma omp target teams map(a) num_teams (foo () / 2 - 50 : foo () / 2)
48 int i
= omp_get_team_num ();
49 int j
= omp_get_num_teams ();
52 || (unsigned) i
>= (unsigned) j
58 for (k
= 0; k
< 934; k
++)
60 if (k
>= 417 && k
< 467 && a
[k
] == 3)
64 else if (k
>= 884 && a
[k
] == 1)