re PR c++/52748 ([C++11] N3276 changes to decltype)
authorJason Merrill <jason@redhat.com>
Mon, 15 Apr 2013 15:24:03 +0000 (11:24 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 15 Apr 2013 15:24:03 +0000 (11:24 -0400)
commit4da97565d3c23bcced3f1f1512c4496c8ec68e2b
treeb4245ad54be60b456349f28ff3b8b771b421be0f
parenta68329c23e76f311a22744e1b0d48421c4a5ec32
re PR c++/52748 ([C++11] N3276 changes to decltype)

PR c++/52748
* pt.c (tsubst) [DECLTYPE_TYPE]: If ~id is an expression
rather than a destructor name, it isn't an unqualified-name.
(tsubst_copy_and_build): Pass down decltype_flag to operator
handling code, too.

From-SVN: r197982
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/g++.dg/cpp0x/decltype-call3.C