1 // PR c++/33035
2 
3 template<class A>
4 struct a {
5         template<class B>
6         struct b {
7                 template<class C>
fa::b8                 void f()
9                 {
10                         struct g
11                         {
12                                 ~g() {}
13                         };
14                 }
15         };
16 };
17