diff options
Diffstat (limited to 'gcc/testsuite/g++.dg/template/crash66.C')
-rw-r--r-- | gcc/testsuite/g++.dg/template/crash66.C | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.dg/template/crash66.C b/gcc/testsuite/g++.dg/template/crash66.C new file mode 100644 index 000000000..3517311b4 --- /dev/null +++ b/gcc/testsuite/g++.dg/template/crash66.C @@ -0,0 +1,17 @@ +// PR c++/29535 +// { dg-do compile } + +template <class INDEX> struct SetRegion2D +{ + struct FloodFillControl + { + struct Allocator{}; + }; +}; +template <int DIM, class PIXELINDEX> +struct MotionSearcher +{ + typedef SetRegion2D<PIXELINDEX> Region_t; + MotionSearcher (typename Region_t::FloodFillControl::Allocator &a_rAllocator); +}; +class MotionSearcherY : public MotionSearcher<1, int> {}; |