[Bug c++/51547] auto, type deduction, reference collapsing and const: invalid initialization of reference of type 'const X&&' from expression of type 'const X'
paolo at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Dec 27 19:08:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51547
--- Comment #2 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> 2011-12-27 19:04:28 UTC ---
Author: paolo
Date: Tue Dec 27 19:04:24 2011
New Revision: 182695
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182695
Log:
2011-12-27 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/51547
* g++.dg/cpp0x/pr51547.C: New.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/pr51547.C
More information about the Gcc-bugs
mailing list