aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2001-01-11 03:10:12 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>2001-01-11 03:10:12 +0000
commit8afa707fab8ed182e4b9f9057a7fc4ccfc3faac2 (patch)
treedad9e6c6064b524089852c1284e19fe30da188d7 /gcc/testsuite
parent7e1376a14cd5b2a8d1bd75524262b725ffe07f86 (diff)
downloadgcc-8afa707fab8ed182e4b9f9057a7fc4ccfc3faac2.zip
gcc-8afa707fab8ed182e4b9f9057a7fc4ccfc3faac2.tar.gz
gcc-8afa707fab8ed182e4b9f9057a7fc4ccfc3faac2.tar.bz2
pt.c (copy_default_args_to_explicit_spec_1): New function.
* pt.c (copy_default_args_to_explicit_spec_1): New function. (copy_default_args_to_explicit_spec): Likewise. (check_explicit_specialization): Use it. From-SVN: r38893
Diffstat (limited to 'gcc/testsuite')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.other/defarg6.C13
1 files changed, 13 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.other/defarg6.C b/gcc/testsuite/g++.old-deja/g++.other/defarg6.C
new file mode 100644
index 0000000..6eebc29
--- /dev/null
+++ b/gcc/testsuite/g++.old-deja/g++.other/defarg6.C
@@ -0,0 +1,13 @@
+// Build don't link:
+// Origin: Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
+
+#include <vector>
+#include <fstream>
+
+class STACK {
+public:
+ std::vector<int> data;
+
+ STACK() : data()
+ { }
+};