Mercurial > hg > CbC > CbC_gcc
view libgomp/testsuite/libgomp.c++/task-7.C @ 99:98e1e78a6b5a
modify implementation of selftype
author | Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 24 Jan 2012 18:11:15 +0900 |
parents | a06113de4d67 |
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; }