Implement P0961
authorVille Voutilainen <ville.voutilainen@gmail.com>
Thu, 5 Apr 2018 14:37:18 +0000 (17:37 +0300)
committerVille Voutilainen <ville@gcc.gnu.org>
Thu, 5 Apr 2018 14:37:18 +0000 (17:37 +0300)
commit0fb90182d8698bf65774f25431567cd70be25faf
tree7ac1a0f9796b1dad39846a5caebc5f8dd9f53e12
parente99d77c97fbee5c17594374b978a0c4f9cd125f4
Implement P0961

gcc/cp

Implement P0961
* decl.c (get_tuple_decomp_init): Check the templatedness
of a member get.

testsuite/

Implement P0961
* g++.dg/cpp1z/decomp10.C: Adjust.
* g++.dg/cpp1z/decomp37.C: New.

From-SVN: r259128
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/g++.dg/cpp1z/decomp10.C
gcc/testsuite/g++.dg/cpp1z/decomp37.C [new file with mode: 0644]