PR c++/86288
commite9c536b036ff05acd3ae25b6ae4d99ad69e9ca20
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 24 Oct 2018 19:39:23 +0000 (24 19:39 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 24 Oct 2018 19:39:23 +0000 (24 19:39 +0000)
tree91b13013e71b1e4391571125e25ce32e8a618ec7
parent810b24cd59bc4d980cf56bf6ba89de3dea97a0c6
PR c++/86288
* parser.c (cp_parser_std_attribute): Canonicalize attr_ns, and when
:: is not present and attr_ns non-NULL, canonicalize also attr_id.
(cp_parser_attribute_spec): Fix comment typo.

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

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