[pushed] c++: Add static in g++.dg/warn/Waddress-5.C
Commit Message
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(-)
base-commit: 3363022ed810a2797c47867890547c8f73163257
@@ -12,7 +12,7 @@ struct A
virtual void vf ();
virtual void pvf () = 0;
- void sf ();
+ static void sf ();
int *p;
int a[2];