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
2015-11-30 Paul Thomas <pault@gcc.gnu.org>
[official-gcc.git]
/
libgomp
/
testsuite
/
libgomp.c++
/
task-7.C
blob
e9828cd2c4d3798bcda9edff908b69daded0b9cf
1
// PR c++/36523
2
// { dg-do run }
3
4
template<typename T>
5
struct A
6
{
7
A() { }
8
A(const A&) { }
9
void foo() { }
10
};
11
12
int main()
13
{
14
A<int> a;
15
#pragma omp task firstprivate (a)
16
a.foo();
17
return 0;
18
}