4 // Copyright (C) 2007 Free Software Foundation, Inc.
5 // Contributed by Theodore.Papadopoulo
6 // 16 Apr 2007 <Theodore.Papadopoulo@sophia.inria.fr>
9 template <typename> struct A { A() {} };
10 template <typename> struct C { C() { i++; } C(const C &) { i += 2; } };
13 struct M { typedef double E; };
20 typedef A<typename T::E> B;
22 #pragma omp parallel for firstprivate(b) schedule(guided)
23 for (int t = 0; t < 10; ++t)
33 typedef C<typename T::E> B;
35 #pragma omp parallel for firstprivate(b)
36 for (int t = 0; t < 10; ++t)
46 #pragma omp parallel for firstprivate(b)
47 for (int t = 0; t < 10; ++t)