mirror of
https://github.com/bitwiseworks/gcc-os2.git
synced 2026-09-27 00:52:20 +00:00
Source URL: git://gcc.gnu.org/git/gcc.git Source Commit: 3e7b85061947bdc7c7465743ba90734566860821
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;
|
|
}
|