https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103338
Bug ID: 103338 Summary: ICE: in tsubst_pack_expansion, at cp/pt.c:13167 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: hewillk at gmail dot com Target Milestone: --- [7/8/9/10/11/12 Regression] template<class...> struct zip_view { struct Iterator; }; template<class...> struct zip_transform_view; template<class... Views> struct zip_view<Views...>::Iterator { template<class... Uiews> template<bool> friend class zip_transform_view<Uiews...>::Iterator; }; zip_view<>::Iterator iter; https://godbolt.org/z/95Yvq4heP