https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67318
Bug ID: 67318 Summary: [6 regression] Parsing error when using abbreviated integral type names in template parameter pack declaration Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: adrian.wielgosik at gmail dot com Target Milestone: --- The following code: template<short...> struct MyStruct; int main(){} Results in an error: main.cpp:16:15: error: expected ‘>’ before ‘...’ token template<short...> ^ Happens for: short, long, long long, unsigned, signed, unsigned short... Does not happen for: all the above with "int" appended, int, char, bool.