re PR c++/14181 (Cryptic error message for code that compiled without warnings in...
authorGiovanni Bajo <giovannibajo@gcc.gnu.org>
Thu, 19 Feb 2004 03:06:09 +0000 (03:06 +0000)
committerGiovanni Bajo <giovannibajo@gcc.gnu.org>
Thu, 19 Feb 2004 03:06:09 +0000 (03:06 +0000)
commit063e900f40733fbc05ce229de4f1dbd6d5c14340
treea8bd929a5fcc301ed9d55eda12db3cc738928639
parentd63d3c7c2ebeec64d40ad66b72cb761fd165072b
re PR c++/14181 (Cryptic error message for code that compiled without warnings in 3.3.x)

PR c++/14181
* parser.c (cp_parser_new_expression): Parse an ill-formed
direct-new-declarator after a parenthesized type-id to emit good
diagnostic.

From-SVN: r78067
gcc/cp/ChangeLog
gcc/cp/parser.c