diff mbox series

[committed] Fix g++.dg/inherit/override-attribs.C on ia32 (PR testsuite/85189)

Message ID 20180404141534.GO8577@tucnak
State New
Headers show
Series [committed] Fix g++.dg/inherit/override-attribs.C on ia32 (PR testsuite/85189) | expand

Commit Message

Jakub Jelinek April 4, 2018, 2:15 p.m. UTC
Hi!

r258898 changed the wording and changed error to inform for the second
message and adjusted lots of testcases, but has not adjusted this one.

Fixed thusly, tested on x86_64-linux with -m32/-m64, committed to trunk.

2018-04-04  Jakub Jelinek  <jakub@redhat.com>

	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.


	Jakub
diff mbox series

Patch

--- gcc/testsuite/g++.dg/inherit/override-attribs.C.jj	2011-07-11 10:39:37.000000000 +0200
+++ gcc/testsuite/g++.dg/inherit/override-attribs.C	2018-04-04 16:11:21.212486074 +0200
@@ -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