Debian Codegraph @

gcc/testsuite/g++.dg/template/crash66.C

raw
1 // PR c++/29535
2 // { dg-do compile }
3
4 template <class INDEX> struct SetRegion2D
5 {
6 struct FloodFillControl
7 {
8 struct Allocator{};
9 };
10 };
11 template <int DIM, class PIXELINDEX>
12 struct MotionSearcher
13 {
14 typedef SetRegion2D<PIXELINDEX> Region_t;
15 MotionSearcher (typename Region_t::FloodFillControl::Allocator &a_rAllocator);
16 };
17 class MotionSearcherY : public MotionSearcher<1, int> {};