Improve error recovery for structured binding in condition.
authorJason Merrill <jason@redhat.com>
Wed, 30 May 2018 17:32:54 +0000 (13:32 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 30 May 2018 17:32:54 +0000 (13:32 -0400)
commitcd7fa7a74b672bb7d978807b2190feaf57afc43a
tree7d8cc3be73907df67e1b449d62e4540280174ecc
parentd555daaf92d9c20e44d78e740bcc8b6501faff24
Improve error recovery for structured binding in condition.

* parser.c (cp_parser_check_condition_declarator): Handle
cp_error_declarator.

From-SVN: r260968
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/g++.dg/cpp1z/decomp16.C