Patchwork [C++,testcase,committed] PR 17410

login
register
mail settings
Submitter Paolo Carlini
Date May 16, 2013, 4:57 p.m.
Message ID <5195100F.9010508@oracle.com>
Download mbox | patch
Permalink /patch/244399/
State New
Headers show

Comments

Paolo Carlini - May 16, 2013, 4:57 p.m.
Hi,

testcase committed to mainline, I'm closing the PR as fixed.

Thanks,
Paolo.

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

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

Patch

Index: g++.dg/template/pr17410.C
===================================================================
--- g++.dg/template/pr17410.C	(revision 0)
+++ g++.dg/template/pr17410.C	(working copy)
@@ -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*> >;