re PR c++/44996 ([C++0x] decltype produces rvalue reference type for parenthesized...
authorJason Merrill <jason@redhat.com>
Tue, 20 Jul 2010 01:31:42 +0000 (21:31 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 20 Jul 2010 01:31:42 +0000 (21:31 -0400)
commit8145be0145861ae60c43d96ef9ff726e9cd644f6
tree247898b0a0178d1e6b93a27d23c1df0913f0786f
parent27728d816f2c0e081ab1756b43871f86bdeb2a0f
re PR c++/44996 ([C++0x] decltype produces rvalue reference type for parenthesized id-expression)

PR c++/44996
* semantics.c (finish_decltype_type): Correct decltype
of parenthesized rvalue reference variable.

From-SVN: r162323
gcc/cp/ChangeLog
gcc/cp/semantics.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/decltype23.C [new file with mode: 0644]