PR c++/47999
commitf5126e464ffbd5f74457e067f5412a65849728f1
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 16 Mar 2011 17:04:30 +0000 (16 17:04 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 16 Mar 2011 17:04:30 +0000 (16 17:04 +0000)
treeb52452674927ebc84d6820aa58bd3129547bd535
parentb9f77b956a08a66d1964b4c5e1b3ab2aa7a440d3
PR c++/47999
* semantics.c (finish_call_expr): Preserve reference semantics
in templates.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171053 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/semantics.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/auto22.C [new file with mode: 0644]