Jérôme Duval 5904152eeb Merging GCC 4.4.4 in trunk.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@37371 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-03 11:11:20 +00:00

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;
}