summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/gomp/atomic-14.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.dg/gomp/atomic-14.C')
-rw-r--r--gcc/testsuite/g++.dg/gomp/atomic-14.C8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/testsuite/g++.dg/gomp/atomic-14.C b/gcc/testsuite/g++.dg/gomp/atomic-14.C
index ae1eb50dcd6..982f44fae92 100644
--- a/gcc/testsuite/g++.dg/gomp/atomic-14.C
+++ b/gcc/testsuite/g++.dg/gomp/atomic-14.C
@@ -8,12 +8,12 @@ int
foo (void)
{
#pragma omp atomic
- (*baz ())--; // { dg-error "invalid use of Boolean" }
+ (*baz ())--; // { dg-error "use of an operand of type .bool." }
#pragma omp atomic
- --(*baz ()); // { dg-error "invalid use of Boolean" }
+ --(*baz ()); // { dg-error "use of an operand of type .bool." }
#pragma omp atomic
- atomicvar--; // { dg-error "invalid use of Boolean" }
+ atomicvar--; // { dg-error "use of an operand of type .bool." }
#pragma omp atomic
- --atomicvar; // { dg-error "invalid use of Boolean" }
+ --atomicvar; // { dg-error "use of an operand of type .bool." }
return 0;
}