PR c++/68377 - parenthesized expr in fold-expression
authorJason Merrill <jason@redhat.com>
Thu, 17 Nov 2016 21:40:41 +0000 (16:40 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 17 Nov 2016 21:40:41 +0000 (16:40 -0500)
commitd168b3daa6f5aad0f5d57b9ac814dcd6e8243c61
tree56646e223299a79082b059fd82e40ca294c9e3a5
parent77b384c53f2229b05513fb4b297d4c93da04f01a
PR c++/68377 - parenthesized expr in fold-expression

* parser.c (cp_parser_fold_expression): Check TREE_NO_WARNING.

From-SVN: r242561
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/g++.dg/cpp1z/fold8.C [new file with mode: 0644]