diff options
Diffstat (limited to 'gcc/testsuite/g++.dg/template/crash68.C')
-rw-r--r-- | gcc/testsuite/g++.dg/template/crash68.C | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.dg/template/crash68.C b/gcc/testsuite/g++.dg/template/crash68.C new file mode 100644 index 000000000..9171f8c62 --- /dev/null +++ b/gcc/testsuite/g++.dg/template/crash68.C @@ -0,0 +1,16 @@ +// PR c++/33035 + +template<class A> +struct a { + template<class B> + struct b { + template<class C> + void f() + { + struct g + { + ~g() {} + }; + } + }; +}; |