PR c++/81917 - ICE with void_t and partial specialization.
[official-gcc.git] / gcc / testsuite / g++.dg / template / access12.C
blob9185d51253e51d520bdf4aa85a64210af1fa61c9
1 // { dg-do compile }
3 // Origin: Giovanni Bajo <giovannibajo@libero.it>
5 // PR c++/10849: Incorrect access checking on class template partial
6 // specialization.
8 class X {
9   private:
10     template <typename T> struct Y;
13 template <typename T> struct X::Y<T*> {};