Mercurial > hg > CbC > CbC_gcc
view libgomp/testsuite/libgomp.c++/task-7.C @ 0:a06113de4d67
first commit
author | kent <kent@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 17 Jul 2009 14:47:48 +0900 |
parents | |
children |
line wrap: on
line source
// 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; }