mirror of
https://review.haiku-os.org/buildtools
synced 2025-02-01 11:04:47 +01: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;
|
||
|
}
|