re PR c++/51547 (auto, type deduction, reference collapsing and const: invalid initia...
authorPaolo Carlini <paolo@gcc.gnu.org>
Tue, 27 Dec 2011 19:04:24 +0000 (19:04 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Tue, 27 Dec 2011 19:04:24 +0000 (19:04 +0000)
commit7004306f7c968223ecdbe912c47dec70c2ed3d53
tree4d94dadddd9aafd17cde096e1881a40a0dcd123b
parent282bc7b4c5fd895ecc81781e0febb8ec13d9ad86
re PR c++/51547 (auto, type deduction, reference collapsing and const: invalid initialization of reference of type 'const X&&' from expression of type 'const X')

2011-12-27  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/51547
* g++.dg/cpp0x/pr51547.C: New.

From-SVN: r182695
gcc/testsuite/g++.dg/cpp0x/pr51547.C [new file with mode: 0644]