http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60642

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2014-03-25
            Summary|abi_tag attribute doesn't   |Unclear diagnostic with
                   |work on explicit            |invalid use of abi_tag
                   |specializations of class    |attribute on explicit
                   |templates                   |instantiation
     Ever confirmed|0                           |1

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
That's not a specialization, it's an explicit instantiation, and so you don't
need the tag, it should be simply:

template class test<int>;

The error message could be clearer though, so confirming as a diagnostic bug.

Reply via email to