]> gcc.gnu.org Git - gcc.git/commitdiff
new
authorJason Merrill <jason@gcc.gnu.org>
Mon, 12 Apr 1999 10:53:36 +0000 (06:53 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 12 Apr 1999 10:53:36 +0000 (06:53 -0400)
From-SVN: r26369

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

diff --git a/gcc/testsuite/g++.old-deja/g++.pt/ctor2.C b/gcc/testsuite/g++.old-deja/g++.pt/ctor2.C
new file mode 100644 (file)
index 0000000..c2554a2
--- /dev/null
@@ -0,0 +1,13 @@
+// Test for use of template parms in constructor name.
+// Submitted by Jason Merrill <jason@cygnus.com>
+// Build don't link:
+
+template <class T>
+struct A {
+  A<T>();
+};
+
+template <class T>
+A<T>::A<T>()
+{
+}
This page took 0.060658 seconds and 5 git commands to generate.