Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.dg
/
gomp
/
tpl-for-1.C
blob: e036e64471519d2299fc2b903c26a83c79855acf [
file
] [
log
] [
blame
]
// { 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>
();
}