This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/51547] auto, type deduction, reference collapsing and const: invalid initialization of reference of type 'const X&&' from expression of type 'const X'


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]