PR c++/78358 - tuple decomposition decltype
authorJason Merrill <jason@redhat.com>
Tue, 15 Nov 2016 16:32:38 +0000 (11:32 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 15 Nov 2016 16:32:38 +0000 (11:32 -0500)
commit944608029f851d39523a71949df3ed9148d9ab8f
treeebfcdd2df5f06eedf27dc62369acb9819a987cdf
parent435fd4073884990c845fffaf65dcea10475f3230
PR c++/78358 - tuple decomposition decltype

* semantics.c (finish_decltype_type): Strip references for a tuple
decomposition.
* cp-tree.h (DECL_DECOMPOSITION_P): False for non-variables.

From-SVN: r242432
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/semantics.c
gcc/testsuite/g++.dg/cpp1z/decomp12.C [new file with mode: 0644]