repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Daily bump.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
gomp
/
pr33372-2.C
blob
cce7ecc743c2e86157277e017d99378fa09d2036
1
// PR c++/33372
2
// { dg-do compile }
3
// { dg-options "-fopenmp" }
4
5
template <typename T>
6
void 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
16
void g ()
17
{
18
f<int> ();
19
}