summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/ttp61.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.pt/ttp61.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.pt/ttp61.C9
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/ttp61.C b/gcc/testsuite/g++.old-deja/g++.pt/ttp61.C
new file mode 100644
index 000000000..90ee042c1
--- /dev/null
+++ b/gcc/testsuite/g++.old-deja/g++.pt/ttp61.C
@@ -0,0 +1,9 @@
+// { dg-do assemble }
+// Origin: grg at ai dot mit dot edu
+
+class A;
+template<template<class Ignored> class base> class C :
+ public base<A> {
+ public:
+ C(A& newa) : base<A>(newa) {}
+};