Sign in
gnu
/
gcc
/
926d9947847a0683cf34de6fc231209747576088
/
.
/
libgomp
/
testsuite
/
libgomp.c++
/
task-7.C
blob: e9828cd2c4d3798bcda9edff908b69daded0b9cf [
file
] [
log
] [
blame
]
// PR c++/36523
// { dg-do run }
template
<
typename
T
>
struct
A
{
A
()
{
}
A
(
const
A
&)
{
}
void
foo
()
{
}
};
int
main
()
{
A
<int>
a
;
#pragma
omp task firstprivate
(
a
)
a
.
foo
();
return
0
;
}