blob: d3b21c722c88122cdc3a2319968b03ff973609c0 [file] [log] [blame]
// PR c++/105476
// { dg-do compile { target c++17 } }
template<class> struct Visitor_functor;
template<class> struct Events {
template<class... Fn> struct Visitor : Visitor_functor<Fn>::type_t... { };
};
using ev_t = Events<int>;
ev_t::Visitor v = { {} }; // { dg-error "too many initializers" }