Core 1212
authorJason Merrill <jason@redhat.com>
Thu, 17 Mar 2011 16:20:16 +0000 (12:20 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 17 Mar 2011 16:20:16 +0000 (12:20 -0400)
commitc1e41527443f54a454452b9b628ab215a73375b5
treeefff327edaa7e3722b06262633cad9b924af6ac8
parent547206a4e530360a06679894c2a9f2168bf5f943
Core 1212

Core 1212
* semantics.c (finish_decltype_type): Return T&& for xvalue.
* typeck.c (unlowered_expr_type): Preserve cv-quals.

From-SVN: r171104
gcc/cp/ChangeLog
gcc/cp/semantics.c
gcc/cp/typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/decltype-1212.C [new file with mode: 0644]
gcc/testsuite/g++.dg/cpp0x/rv-return.C