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
Merge C++ from gomp-20050608-branch.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
gomp
/
pr25874.C
blob
02adef97f5688f614ea23b3f4294d05f06028696
1
int foo();
2
3
struct wigner_d
4
{
5
void recurse () {
6
int dd;
7
for (int j=0; j<=1; ++j) {
8
#pragma omp parallel
9
dd=5;
10
}
11
}
12
};
13
14
template<typename T> void rotate_alm(T arg)
15
{
16
wigner_d rec;
17
rec.recurse();
18
#pragma omp parallel
19
foo();
20
}
21
22
template void rotate_alm(float arg);
23
template void rotate_alm(double arg);