Improve error recovery for structured binding in condition.
commit91039d05f8f7d7c87c07e65d243649d032bd6e08
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 30 May 2018 17:32:54 +0000 (30 17:32 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 30 May 2018 17:32:54 +0000 (30 17:32 +0000)
tree7d8cc3be73907df67e1b449d62e4540280174ecc
parent4023eb6c1727ca7a826eba8858dfa999fb00bd09
Improve error recovery for structured binding in condition.

* parser.c (cp_parser_check_condition_declarator): Handle
cp_error_declarator.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@260968 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/g++.dg/cpp1z/decomp16.C