Commit 45f9820f by Paolo Carlini Committed by Paolo Carlini

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
parent 7e9a3abb
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.
......
// 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*> >;
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