diff options
author | Tobias Burnus <tobias@codesourcery.com> | 2021-05-05 08:50:15 +0200 |
---|---|---|
committer | Tobias Burnus <tobias@codesourcery.com> | 2021-05-05 10:11:47 +0200 |
commit | af4e4d35f0b84d7c2f57a7b682a09116e9911142 (patch) | |
tree | e858c7f039046b55525b7fcd199c22fd95c4550a /gcc | |
parent | d846f225c25c5885250c303c8d118caa08c447ab (diff) | |
download | gcc-af4e4d35f0b84d7c2f57a7b682a09116e9911142.zip gcc-af4e4d35f0b84d7c2f57a7b682a09116e9911142.tar.gz gcc-af4e4d35f0b84d7c2f57a7b682a09116e9911142.tar.bz2 |
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 '...(&&:..)'.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/g++.dg/gomp/clause-3.C | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/g++.dg/gomp/clause-3.C b/gcc/testsuite/g++.dg/gomp/clause-3.C index e0edc87..aad97d6 100644 --- a/gcc/testsuite/g++.dg/gomp/clause-3.C +++ b/gcc/testsuite/g++.dg/gomp/clause-3.C @@ -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'" } ; |