PR c++/29535
* g++.dg/template/crash66.C: New test.
From-SVN: r120385
2007-01-03 Jakub Jelinek <jakub@redhat.com>
+ PR c++/29535
+ * g++.dg/template/crash66.C: New test.
+
PR c++/29054
* g++.dg/template/friend49.C: New test.
--- /dev/null
+// 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> {};