PR c++/81917 - ICE with void_t and partial specialization.
[official-gcc.git] / gcc / testsuite / g++.dg / template / friend61.C
blob1604f5c904e07406c8f9990ae25c70446971c191
1 // PR c++/69323
3 template<int VALUE>
4 struct Outer
6   struct StupidValueTrick
7   {
8     template<int VAL> friend struct Outer<VAL>::StupidValueTrick;
9   };
11 typedef Outer<42>::StupidValueTrick GoodValue;
12 GoodValue good;