This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/67318] New: [6 regression] Parsing error when using abbreviated integral type names in template parameter pack declaration
- From: "adrian.wielgosik at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 22 Aug 2015 09:39:55 +0000
- Subject: [Bug c++/67318] New: [6 regression] Parsing error when using abbreviated integral type names in template parameter pack declaration
- Auto-submitted: auto-generated
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.