summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/other/error18.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.dg/other/error18.C')
-rw-r--r--gcc/testsuite/g++.dg/other/error18.C2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/g++.dg/other/error18.C b/gcc/testsuite/g++.dg/other/error18.C
index 9e4d21cfde0..05ddf116675 100644
--- a/gcc/testsuite/g++.dg/other/error18.C
+++ b/gcc/testsuite/g++.dg/other/error18.C
@@ -7,5 +7,5 @@ struct A
void f(A a)
{
- a.b--; // { dg-error "Boolean expression" }
+ a.b--; // { dg-error "use of an operand of type .bool." }
}