re PR c++/51270 (missed warning about returning reference to temporary)
authorPaolo Carlini <paolo.carlini@oracle.com>
Tue, 11 Jul 2017 21:24:11 +0000 (21:24 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Tue, 11 Jul 2017 21:24:11 +0000 (21:24 +0000)
commit9e028cef373b899c4e64f34c077ec5913b48c81b
tree2c64c79db2e0feeaac05c754db7ebae524814a7e
parent19cf5a70685214d2fe4c5b79b1f8399de8a7091e
re PR c++/51270 (missed warning about returning reference to temporary)

2017-07-11  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/51270
* g++.dg/warn/Wreturn-local-addr-3.C: New.

From-SVN: r250140
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/warn/Wreturn-local-addr-3.C [new file with mode: 0644]