http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59988
Bug ID: 59988 Summary: Failing to specialize template class Product: gcc Version: 4.8.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: tom at failproof dot be Created attachment 31984 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31984&action=edit GCC output $ uname -a Linux TOM-UBUNTU 3.2.0-58-generic #88-Ubuntu SMP Tue Dec 3 17:37:58 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux GCC seems to be having trouble specializing a template class. The output when running this file is: Test1<T>: 0 Test2<T>: 0 TestV<T>: 0 while the expected output is: Test1<T>: 1 Test2<T>: 0 TestV<T>: 1