The case in that PR used to ICE until commit
f04dc89. This patch simply adds
the case to the testsuite.
Successfully tested on x86_64-pc-linux-gnu.
PR c++/103388
gcc/testsuite/ChangeLog:
* g++.dg/parse/crash73.C: New test.
--- /dev/null
+// PR c++/103338
+// { dg-do compile { target c++11 } }
+
+template<class...>
+struct zip_view {
+ struct Iterator;
+};
+
+template<class...>
+struct zip_transform_view;
+
+template<class... Views>
+struct zip_view<Views...>::Iterator { // { dg-error "no class template" }
+ template<class... Uiews>
+ template<bool>
+ friend class zip_transform_view<Uiews...>::Iterator;
+};
+
+zip_view<>::Iterator iter;