3 // { dg-options "-std=c++11" }
10 #pragma omp parallel for reduction (+: n)
11 for (T i = [](){ return 3; }(); i < 10; ++i)
21 #pragma omp parallel for reduction (+: n)
22 for (T i = [](){ return 1; }() + [](){ return 4; }(); i < 10; ++i)
32 #pragma omp parallel for reduction (+: n)
33 for (T i = T (); i < [](){ return 7; }() + [](){ return 11; }(); i += [](){ return 3; }() - [](){ return 1; }())
41 if (foo <int> () != 7 || foo <long long> () != 7)
43 if (bar <int> () != 5 || bar <char> () != 5)
45 if (baz <int> () != 9 || baz <long long> () != 9)