summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/crash68.C
blob: 9171f8c62d909d16f8784c3069bc1aa86511ec57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// PR c++/33035

template<class A> 
struct a {
        template<class B> 
        struct b {
                template<class C>
                void f()
                {
                        struct g
                        {
                                ~g() {}
                        };
                }
        };
};