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

            Bug ID: 67270
           Summary: internal compiler error: in unify, at cp/pt.c:18178
           Product: gcc
           Version: 4.9.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: radventure at yandex dot ru
  Target Milestone: ---

Code listed  below  crashes compiler 
I compile it  with g++ -std=c++11 test.cpp

#include <initializer_list>

template <template<typename...> class C, typename... T> void g(const C<T...>&
a)
{
}

int main()
{
    g<std::initializer_list, int>({1, 2, 3});
}

Reply via email to