diff options
author | Jakub Jelinek <jakub@redhat.com> | 2017-11-27 22:54:25 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2017-11-27 22:54:25 +0100 |
commit | de3d4fd0f5439fcc8e3ae10d9f439c007dfacb1d (patch) | |
tree | b139900e645ba6d6ef76b0bf7e6d6a274c45d0da /gcc/print-rtl.c | |
parent | 528c7559a84012642c6a6f80380578572aceaf5c (diff) | |
download | gcc-de3d4fd0f5439fcc8e3ae10d9f439c007dfacb1d.zip gcc-de3d4fd0f5439fcc8e3ae10d9f439c007dfacb1d.tar.gz gcc-de3d4fd0f5439fcc8e3ae10d9f439c007dfacb1d.tar.bz2 |
re PR c++/81888 (Structured bindings stopped working)
PR c++/81888
* parser.c (cp_parser_decomposition_declaration): Reject just
BRACE_ENCLOSED_INITIALIZER_P initializers with nelts != 1 rather
than all such CONSTRUCTORs, and only if is_direct_init is true.
* g++.dg/cpp1z/decomp30.C: Add a test for structured binding with
= {} and = { a, a } initializers.
* g++.dg/cpp1z/decomp31.C: New test.
From-SVN: r255180
Diffstat (limited to 'gcc/print-rtl.c')
0 files changed, 0 insertions, 0 deletions