While reviewing some other changes I noticed that this test talks
about 'sf' being static, but it wasn't actually marked as such.

Tested x86_64-pc-linux-gnu, applying to trunk.

gcc/testsuite/ChangeLog:

        * g++.dg/warn/Waddress-5.C: Make sf static.
---
 gcc/testsuite/g++.dg/warn/Waddress-5.C | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/g++.dg/warn/Waddress-5.C 
b/gcc/testsuite/g++.dg/warn/Waddress-5.C
index b1ad38a8112..b1287b2fac3 100644
--- a/gcc/testsuite/g++.dg/warn/Waddress-5.C
+++ b/gcc/testsuite/g++.dg/warn/Waddress-5.C
@@ -12,7 +12,7 @@ struct A
   virtual void vf ();
   virtual void pvf () = 0;
 
-  void sf ();
+  static void sf ();
 
   int *p;
   int a[2];

base-commit: 3363022ed810a2797c47867890547c8f73163257
-- 
2.33.1

Reply via email to