OSDN Git Service

PR c++/52671
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 22 Mar 2012 20:29:01 +0000 (20:29 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 22 Mar 2012 20:29:01 +0000 (20:29 +0000)
commitc17dce4489539a8dbe7ac941d0beb651f9e38915
treedbb67d7c620de7443c39b26a4aacfccba77f21eb
parentdf7e02fa93e6fe3e8649f90982be7048c28ca048
PR c++/52671
* decl.c (check_tag_decl): Only use CLASSTYPE_TEMPLATE_INSTANTIATION
on CLASS_TYPE_P types.

* g++.dg/ext/attrib44.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@185711 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/testsuite/g++.dg/ext/attrib44.C [new file with mode: 0644]