OSDN Git Service

PR c++/51930
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 1 Mar 2012 17:52:12 +0000 (17:52 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 1 Mar 2012 17:52:12 +0000 (17:52 +0000)
commitce6ea84778178a6db62b5f2ace8798ba8ba98d8d
tree9cf09f96fe4467f1771a7728f6681c1e6269bbcb
parentc54eb9a5180318ff2f2105cd7065fb4694a5b81a
PR c++/51930
* decl.c (check_tag_decl): Move warning for misplaced attributes here.
(shadow_tag): From here.
* parser.c (cp_parser_explicit_instantiation): Don't warn here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184753 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/cp/parser.c
gcc/testsuite/g++.dg/ext/attrib43.C