diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index b3ba5a70c77..88a0b348309 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,8 @@ 2007-01-03 Jakub Jelinek + PR c++/29535 + * g++.dg/template/crash66.C: New test. + PR c++/29054 * g++.dg/template/friend49.C: New test. diff --git a/gcc/testsuite/g++.dg/template/crash66.C b/gcc/testsuite/g++.dg/template/crash66.C new file mode 100644 index 00000000000..3517311b428 --- /dev/null +++ b/gcc/testsuite/g++.dg/template/crash66.C @@ -0,0 +1,17 @@ +// PR c++/29535 +// { dg-do compile } + +template struct SetRegion2D +{ + struct FloodFillControl + { + struct Allocator{}; + }; +}; +template +struct MotionSearcher +{ + typedef SetRegion2D Region_t; + MotionSearcher (typename Region_t::FloodFillControl::Allocator &a_rAllocator); +}; +class MotionSearcherY : public MotionSearcher<1, int> {};