aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorTobias Burnus <tobias@codesourcery.com>2021-05-05 08:50:15 +0200
committerTobias Burnus <tobias@codesourcery.com>2021-05-05 10:11:47 +0200
commitaf4e4d35f0b84d7c2f57a7b682a09116e9911142 (patch)
treee858c7f039046b55525b7fcd199c22fd95c4550a /gcc
parentd846f225c25c5885250c303c8d118caa08c447ab (diff)
downloadgcc-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.C2
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'" }
;