// 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> {};