From 054d3887bef1a929db48b1965486f9dbc47eaabc Mon Sep 17 00:00:00 2001 From: jakub Date: Wed, 4 Apr 2018 14:14:08 +0000 Subject: [PATCH] PR testsuite/85189 * g++.dg/inherit/override-attribs.C: Use dg-message instead of dg-error for the diagnostics of overridden functions. Adjust for new wording. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@259082 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/testsuite/ChangeLog | 6 ++++++ gcc/testsuite/g++.dg/inherit/override-attribs.C | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index e9c9475830d..9b03492a04e 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2018-04-04 Jakub Jelinek + + PR testsuite/85189 + * g++.dg/inherit/override-attribs.C: Use dg-message instead of dg-error + for the diagnostics of overridden functions. Adjust for new wording. + 2018-04-04 Richard Biener PR lto/85176 diff --git a/gcc/testsuite/g++.dg/inherit/override-attribs.C b/gcc/testsuite/g++.dg/inherit/override-attribs.C index 6f5c9288e86..03521b1ef10 100644 --- a/gcc/testsuite/g++.dg/inherit/override-attribs.C +++ b/gcc/testsuite/g++.dg/inherit/override-attribs.C @@ -5,7 +5,7 @@ class one { public: virtual void - test(void* value); // { dg-error "overriding" } + test(void* value); // { dg-message "overridden" } }; class two : public one -- 2.11.4.GIT