c++: Add static in g++.dg/warn/Waddress-5.C
While reviewing some other changes I noticed that this test talks about 'sf' being static, but it wasn't actually marked as such. gcc/testsuite/ChangeLog: * g++.dg/warn/Waddress-5.C: Make sf static.
This commit is contained in:
parent
3363022ed8
commit
7b7318faf7
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ struct A
|
|||
virtual void vf ();
|
||||
virtual void pvf () = 0;
|
||||
|
||||
void sf ();
|
||||
static void sf ();
|
||||
|
||||
int *p;
|
||||
int a[2];
|
||||
|
|
Loading…
Add table
Reference in a new issue