https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66961
--- Comment #2 from Alex Khripin ---
Here's a more bare bones test case, for brevity's sake
template struct NumTemplate
{
NumTemplate(int) {}
};
struct Test
{
enum { SIZE_1 = 1 };
// broken :
NumTemplate array1 = NumTemplate(0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66961
--- Comment #1 from Alex Khripin ---
Created attachment 36027
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36027&action=edit
Error output from gcc 4.8.5
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: akhripin at bostondynamics dot com
Target Milestone: ---
Created attachment 36026
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36026&action=edit