re PR c++/10849 (Cannot define an out-of-class specialization of a private nested template class)
PR c++/10849 * g++.dg/template/access12.C: New test. From-SVN: r69186
This commit is contained in:
parent
c87d821bd4
commit
0c3b76ea50
|
@ -1,3 +1,8 @@
|
|||
2003-07-10 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
|
||||
|
||||
PR c++/10849
|
||||
* g++.dg/template/access12.C: New test.
|
||||
|
||||
2003-07-09 Nathan Sidwell <nathan@codesourcery.com>
|
||||
|
||||
* g++.dg/bprob/bprob.exp (prof_ext): Update.
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
// { dg-do compile }
|
||||
|
||||
// Origin: Giovanni Bajo <giovannibajo@libero.it>
|
||||
|
||||
// PR c++/10849: Incorrect access checking on class template partial
|
||||
// specialization.
|
||||
|
||||
class X {
|
||||
private:
|
||||
template <typename T> struct Y;
|
||||
};
|
||||
|
||||
template <typename T> struct X::Y<T*> {};
|
Loading…
Reference in New Issue