Sign in
gnu
/
gcc
/
refs/tags/releases/gcc-9.5.0
/
.
/
libgomp
/
testsuite
/
libgomp.c++
/
pr70376.C
blob: 595c2cc930c28c99572c93143c245c7d2ed19825 [
file
] [
log
] [
blame
]
// PR c++/70376
// { dg-do link }
template
<
typename
T
>
struct
A
{
A
()
{
}
A
(
const
A
&)
{
}
void
foo
()
{
}
};
int
main
()
{
A
<int>
a
;
#pragma
omp taskloop
for
(
int
i
=
0
;
i
<
64
;
i
++)
a
.
foo
();
return
0
;
}