PR c++/81917 - ICE with void_t and partial specialization.
[official-gcc.git] / gcc / testsuite / g++.dg / template / ttp29.C
blob7d4e03ab20b6c789d0daec880731e319a04b8a35
1 // PR c++/70778
3 template <class KeyType>
4 struct Stuff
6   template <KeyType, class>
7   struct AddToFront;
9   template <KeyType ToAdd, template<KeyType> class Holder, KeyType Indexs>
10   struct AddToFront<ToAdd, Holder<Indexs> >
11   {
12   };
15 template <unsigned>
16 struct Holder {};
18 int main()
20   Stuff<unsigned>::AddToFront<0, Holder<24> > t;