PR c++/67767
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 19 Feb 2016 16:01:50 +0000 (16:01 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 19 Feb 2016 16:01:50 +0000 (16:01 +0000)
commita45bce11aed43b1e9dec7731d787fc2d664a32a5
treee5a018c85eb5153fd7dee63c69b092e027fefa0c
parentcf2ed1b7a02dae9dfc6e3c19ce81626ab5643f42
PR c++/67767
* parser.c (cp_parser_std_attribute_spec_seq): Don't assume
attr_spec is always single element chain, chain all the attributes
properly together in the right order.

* g++.dg/cpp0x/pr67767.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@233560 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/pr67767.C [new file with mode: 0644]