re PR c++/17410 (Specialization of nested template rejected because of unrelated declaration)

2013-05-16  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/17410
	* g++.dg/template/pr17410.C: New.

From-SVN: r198979
This commit is contained in:
Paolo Carlini 2013-05-16 16:56:08 +00:00 committed by Paolo Carlini
parent 7e9a3abbb8
commit 45f9820f00
2 changed files with 22 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2013-05-16 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/17410
* g++.dg/template/pr17410.C: New.
2013-05-16 Jakub Jelinek <jakub@redhat.com>
* gcc.target/i386/rotate-3.c: New test.

View File

@ -0,0 +1,17 @@
// PR c++/17410
template <class>
struct Outer {
template <class> struct Inner {};
};
template <class T>
struct A;
template <template <class> class Q, class P>
struct A <Q<P> > {};
template <class T> struct UNRELATED;
template <class T> struct UNRELATED<Outer<void>::Inner<T*> >;
template struct A<Outer<void>::Inner<int*> >;