PR c++/91304 - prefix attributes ignored in condition.
authorMarek Polacek <polacek@redhat.com>
Fri, 23 Aug 2019 00:06:25 +0000 (00:06 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Fri, 23 Aug 2019 00:06:25 +0000 (00:06 +0000)
commitab3dd132a12c33815912a236c961a5c0d40d1818
tree2fb865d84e0ea2aa36a38159cb785b1dad1b159f
parentf99aba156210eba620b6e774543d3e0adfdf09c2
PR c++/91304 - prefix attributes ignored in condition.

* parser.c (cp_parser_condition): Handle prefix attributes.

* g++.dg/cpp0x/gen-attrs-70.C: New test.

From-SVN: r274839
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/gen-attrs-70.C [new file with mode: 0644]