restore
authorJason Merrill <jason@gcc.gnu.org>
Tue, 23 Mar 1999 11:59:23 +0000 (06:59 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 23 Mar 1999 11:59:23 +0000 (06:59 -0500)
From-SVN: r25928

gcc/testsuite/g++.old-deja/g++.pt/typename6.C [new file with mode: 0644]

diff --git a/gcc/testsuite/g++.old-deja/g++.pt/typename6.C b/gcc/testsuite/g++.old-deja/g++.pt/typename6.C
new file mode 100644 (file)
index 0000000..cdb792f
--- /dev/null
@@ -0,0 +1,20 @@
+// Build don't link:
+// Special g++ Options:
+
+template <class T>
+struct A
+{
+  typedef T A_Type;
+};
+
+
+template <class U>
+struct B : public A<U>
+{
+  A_Type Func();
+};
+
+template <class U>
+A<U>::A_Type B<U>::Func()
+{
+}