Debian Codegraph @

gcc/testsuite/g++.dg/template/access12.C

raw
1 // { dg-do compile }
2
3 // Origin: Giovanni Bajo <[email protected]>
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*> {};