g++.dg/gomp/clause-3.C: Fix - missing in r12-438-g1580fc7 [PR100422]

gcc/testsuite/
	PR testsuite/100422
	* g++.dg/gomp/clause-3.C: Use 'reduction(&:..)' instead of '...(&&:..)'.
This commit is contained in:
Tobias Burnus 2021-05-05 08:50:15 +02:00
parent d846f225c2
commit af4e4d35f0
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ foo (int x)
;
#pragma omp p reduction (|:d) // { dg-error "user defined reduction not found for" }
;
#pragma omp p reduction (&&:d) // { dg-error "user defined reduction not found for" }
#pragma omp p reduction (&:d) // { dg-error "user defined reduction not found for" }
;
#pragma omp p copyin (d) // { dg-error "must be 'threadprivate'" }
;