blob: 9185d51253e51d520bdf4aa85a64210af1fa61c9 [file] [log] [blame]
Kriang Lerdsuwanakij0c3b76e2003-07-10 12:48:17 +00001// { dg-do compile }
2
3// Origin: Giovanni Bajo <giovannibajo@libero.it>
4
5// PR c++/10849: Incorrect access checking on class template partial
6// specialization.
7
8class X {
9 private:
10 template <typename T> struct Y;
11};
12
13template <typename T> struct X::Y<T*> {};