mirror of
https://github.com/autc04/Retro68.git
synced 2024-09-10 03:54:48 +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;
|
|
}
|