PR c++/54293 - binding reference to member of temporary
authorJason Merrill <jason@redhat.com>
Wed, 5 Oct 2016 22:58:55 +0000 (18:58 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 5 Oct 2016 22:58:55 +0000 (18:58 -0400)
commit5794b9f622dce668aa92ebabdf26abd0e799c665
tree9101b48cac6d3d7f4e174a7b225fb708e645bc23
parent27afd940ce6d91b1bf91f12f833ffce459919af6
PR c++/54293 - binding reference to member of temporary

* call.c (reference_binding): Fix binding to member of temporary.

From-SVN: r240819
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/testsuite/g++.dg/init/ref19.C