Small ChangeLog tweak.
[official-gcc.git] / gcc / testsuite / gcc.dg / gomp / udr-4.c
blob3758f91e8511d776dd28a5ebbe3cf07461ec8d9f
1 /* { dg-do compile } */
3 struct S;
4 #pragma omp declare reduction (+:struct S:omp_out.s += omp_in.s) /* { dg-error "invalid use of undefined type" } */
5 struct S { int s; };
6 #pragma omp declare reduction (*:struct S:omp_out.s *= omp_in.s)