]> git.ipfire.org Git - thirdparty/gcc.git/commit
c++: extend Wdangling-reference17.C [PR109642]
authorMarek Polacek <polacek@redhat.com>
Mon, 22 Jan 2024 21:12:33 +0000 (16:12 -0500)
committerMarek Polacek <polacek@redhat.com>
Mon, 22 Jan 2024 21:13:03 +0000 (16:13 -0500)
commitc596ce03120cc22e141186401c6656009ddebdaa
tree60aff0c4b4933d7a14e1394aab2a2a532f8ef779
parentbc77c035c45bb224790b1c03d06a64c8a1cc51c5
c++: extend Wdangling-reference17.C [PR109642]

This patch extends g++.dg/warn/Wdangling-reference17.C with code
from PR109642.  I'm not creating a new test because this one
already #includes the required headers.

PR c++/109642

gcc/testsuite/ChangeLog:

* g++.dg/warn/Wdangling-reference17.C: Additional testing.
gcc/testsuite/g++.dg/warn/Wdangling-reference17.C