Commit 0c3b76ea by Kriang Lerdsuwanakij Committed by Kriang Lerdsuwanakij

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
parent c87d821b
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.
......
// { 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*> {};
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment