mirror of git://gcc.gnu.org/git/gcc.git
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:
parent
7e9a3abbb8
commit
45f9820f00
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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*> >;
|
||||
Loading…
Reference in New Issue