1 // PR tree-optimization/30558
3 // { dg-options "-fopenmp" }
5 template <typename T> struct F
9 const T &operator[] (unsigned i) const;
12 template <typename T> F<T> foo (const F<T> &x)
20 F<int> &operator () (F<int> x);
30 #pragma omp parallel for
31 for (int i = 0; i < 10; ++i)