blob: e036e64471519d2299fc2b903c26a83c79855acf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
// { dg-do compile }
void foo(int);
void foo(long);
template<typename T> void bar()
{
#pragma omp for
for (T i = 0; i < 10; ++i)
foo(i);
}
void test()
{
bar<int>();
bar<long>();
}
|