This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/61341] internal compiler error: in tsubst, at cp/pt.c:11313


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

--- Comment #1 from Ivan Sorokin <vanyacpp at gmail dot com> ---
Reduced case:

template<class ...T>
struct X
{};

template<class ...T>
void foo(X<T, T...>... a);

void test()
{
    foo(X<int, int, double>(), X<double, int, double>());
}


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]