Debian Codegraph @

gcc/testsuite/g++.dg/parse/crash73.C

raw
1 // PR c++/103338
2 // { dg-do compile { target c++11 } }
3
4 template<class...>
5 struct zip_view {
6 struct Iterator;
7 };
8
9 template<class...>
10 struct zip_transform_view;
11
12 template<class... Views>
13 struct zip_view<Views...>::Iterator { // { dg-error "no class template" }
14 template<class... Uiews>
15 template<bool>
16 friend class zip_transform_view<Uiews...>::Iterator;
17 };
18
19 zip_view<>::Iterator iter;