mirror of
https://github.com/autc04/Retro68.git
synced 2024-08-19 03:29:10 +00:00
21 lines
224 B
C++
21 lines
224 B
C++
|
// 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;
|
||
|
}
|