// PR c++/92601 // { dg-additional-options "-g -fchecking -std=c++17" } typedef int size_t; template struct integral_constant { static constexpr int value = __v; }; template struct A; template using __remove_cv_t = typename A<_Tp>::type; template struct B : integral_constant {}; template class tuple; template struct A { using type = tuple; }; template struct C { typedef __remove_cv_t __type; }; template class D { public: typedef typename C<_Tp>::__type type; }; template struct enable_if; template struct F {}; template class G { public: int operator*(); void operator++(); }; template bool operator!=(G<_Iterator, _Container>, G<_Iterator, _Container>); template class H; template >> class vector { public: typedef G iterator; iterator begin(); iterator end(); }; template struct pack_c { typedef pack_c type; }; template struct make_index_pack_join; template struct make_index_pack_join, pack_c> : pack_c {}; template struct I : make_index_pack_join::type, typename I::type> {}; template <> struct I<1> : pack_c {}; template struct are_tuples_compatible_not_same : F::type, int>::value> {}; template struct tuple_impl; template struct tuple_impl, Ts...> { template , UTuple>::value>::type> tuple_impl(UTuple &&); }; template class tuple { tuple_impl::type> _impl; tuple(tuple &) = default; }; vector message_handler_registrations; void fn1() { for (auto t : message_handler_registrations) ; }