summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/crash66.C
blob: 3517311b428d98eaf79d37e2dff4c305eba91849 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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> {};