OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* g++.dg/ext/attrib35.C: Fix target selector string.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
gomp
/
pr33372-2.C
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
}