diff mbox

[C++,testcase,committed] PR 17410

Message ID 5195100F.9010508@oracle.com
State New
Headers show

Commit Message

Paolo Carlini May 16, 2013, 4:57 p.m. UTC
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.
diff mbox

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*> >;