testsuite: Fix warning introduced by nodiscard in libstdc++

Signed-off-by: Jonathan Wakely <jwakely@redhat.com>

gcc/testsuite/ChangeLog:

	* g++.old-deja/g++.other/inline7.C: Cast nodiscard call to void.
This commit is contained in:
Jonathan Wakely 2021-08-05 14:00:35 +01:00
parent 7b1de3eb9e
commit 03d47da7e1
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ std::list<int*> li;
void f ()
{
li.size ();
(void) li.size ();
}
int main ()