PR c++/14230
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 9 Mar 2004 10:08:40 +0000 (10:08 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 9 Mar 2004 10:08:40 +0000 (10:08 +0000)
commit0fd3a2c780e0f0b0f908f1008a6f9c8aa6d70970
tree3dfa650db0b5dd6499bcd5eb04a226890b87cac6
parent207235e3758962765fc126685ab12c3f08c49a47
PR c++/14230
* call.c (initialize_reference): Handle initializers that are
class-member access expressions applies to rvalues.

PR c++/14230
* g++.dg/init/ref11.C: New test.

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