re PR c++/45401 ([C++0x] reference collapsing and reference qualifiers)
authorJason Merrill <jason@redhat.com>
Thu, 26 May 2011 02:22:39 +0000 (22:22 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 26 May 2011 02:22:39 +0000 (22:22 -0400)
commitdc31ddad44bb44e5f715d0f730e16166621c573c
treea845c19be29011eba05cfde1421316ea1c0cfb88
parentc688bbdd6366d12d98c95f18909c15f2c855eb99
re PR c++/45401 ([C++0x] reference collapsing and reference qualifiers)

PR c++/45401
* decl.c (grokdeclarator): Don't change type when adding rvalue ref
to another reference type.

From-SVN: r174255
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/rv-restrict.C [new file with mode: 0644]