mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-27 07:31:35 +00:00
19 lines
203 B
C
19 lines
203 B
C
// 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;
|
|
}
|