blob: 889bfab5081e378b00f84235c488bfff9f2e859a [file] [log] [blame]
// PR middle-end/99007
// { dg-additional-options "-Wno-div-by-zero" }
template <typename T>
void
bar (T *)
{
T s[0/0];
#pragma omp teams distribute parallel for reduction(+:s) allocate(s)
for (int i = 0; i < 8; i++)
;
}
void
foo (long *a)
{
bar (a);
}