https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66961

--- Comment #2 from Alex Khripin <akhripin at bostondynamics dot com> ---
Here's a more bare bones test case, for brevity's sake

template <class T1, int value> struct NumTemplate
{
    NumTemplate(int) {}
};

struct Test
{
    enum { SIZE_1 = 1 };

    // broken :
    NumTemplate<void*, SIZE_1> array1 = NumTemplate<void*, SIZE_1>(0);
};

Reply via email to