Merge from mainline (165734:167278).
[official-gcc/graphite-test-results.git] / gcc / testsuite / g++.dg / template / crash66.C
blob3517311b428d98eaf79d37e2dff4c305eba91849
1 // PR c++/29535
2 // { dg-do compile }
4 template <class INDEX> struct SetRegion2D
6   struct FloodFillControl
7   {
8     struct Allocator{};
9   };
11 template <int DIM, class PIXELINDEX>
12 struct MotionSearcher
14  typedef SetRegion2D<PIXELINDEX> Region_t;
15  MotionSearcher (typename Region_t::FloodFillControl::Allocator &a_rAllocator);
17 class MotionSearcherY : public MotionSearcher<1, int> {};