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:
Marek Polacek 2021-11-23 14:28:30 -05:00
parent 3363022ed8
commit 7b7318faf7

View file

@ -12,7 +12,7 @@ struct A
virtual void vf ();
virtual void pvf () = 0;
void sf ();
static void sf ();
int *p;
int a[2];