aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorBenjamin Kosnik <bkoz@gcc.gnu.org>1998-09-29 16:13:35 +0000
committerBenjamin Kosnik <bkoz@gcc.gnu.org>1998-09-29 16:13:35 +0000
commit98e48780cff38dc8ab91a5e445c462da7b4a29b9 (patch)
tree3cf444f05b4030af03616500e2689f6c67233a60 /gcc
parent8b424a9b4921737c00709feaff9a617143f9e44c (diff)
downloadgcc-98e48780cff38dc8ab91a5e445c462da7b4a29b9.zip
gcc-98e48780cff38dc8ab91a5e445c462da7b4a29b9.tar.gz
gcc-98e48780cff38dc8ab91a5e445c462da7b4a29b9.tar.bz2
new test From-SVN: r22642
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.benjamin/tem07.C37
1 files changed, 37 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.benjamin/tem07.C b/gcc/testsuite/g++.old-deja/g++.benjamin/tem07.C
new file mode 100644
index 0000000..953ed90
--- /dev/null
+++ b/gcc/testsuite/g++.old-deja/g++.benjamin/tem07.C
@@ -0,0 +1,37 @@
+
+template <class T>
+class Foo
+{
+public:
+ Foo(const T&);
+ Foo(const T&, const T&);
+};
+
+template <class T>
+Foo<T>::Foo(const T& t0)
+{
+}
+
+template <class T>
+Foo<T>::Foo(const T& t0, const T& t1)
+{
+}
+
+template Foo<int>::Foo(const int& t0);
+
+
+int main (void) {
+ return 0;
+}
+
+
+
+
+
+
+
+
+
+
+
+