Kriang Lerdsuwanakij | 0c3b76e | 2003-07-10 12:48:17 +0000 | [diff] [blame] | 1 | // { 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 | |||||
8 | class X { | ||||
9 | private: | ||||
10 | template <typename T> struct Y; | ||||
11 | }; | ||||
12 | |||||
13 | template <typename T> struct X::Y<T*> {}; |