summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/parse/error40.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.dg/parse/error40.C')
-rw-r--r--gcc/testsuite/g++.dg/parse/error40.C4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/g++.dg/parse/error40.C b/gcc/testsuite/g++.dg/parse/error40.C
index 9ab7552ae8..643f1f56c5 100644
--- a/gcc/testsuite/g++.dg/parse/error40.C
+++ b/gcc/testsuite/g++.dg/parse/error40.C
@@ -1,7 +1,7 @@
// PR c++/31489
-class foo; // { dg-error "'class foo'" }
-struct bar; // { dg-error "'struct bar'" }
+class foo; // { dg-message "'class foo'" }
+struct bar; // { dg-message "'struct bar'" }
int main()
{