blob: be3f53e44679b2dde3b970110b0dc59c8de8bd64 [file] [log] [blame]
// PR c++/58874
// { dg-do compile }
// { dg-options "-fopenmp" }
struct A
{
template<int> struct B
{
#pragma omp declare reduction (x : int : omp_out |= omp_in)
};
};
#pragma omp declare reduction (y : long : omp_out |= omp_in) \
initializer (omp_priv = 0)