From b68c32add45d30add50b7525469f3d3880c80e58 Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Mon, 16 Mar 1998 19:19:43 -0500 Subject: [PATCH] new From-SVN: r18638 --- gcc/testsuite/g++.old-deja/g++.pt/lookup1.C | 14 ++++++++++++++ gcc/testsuite/g++.old-deja/g++.pt/parse1.C | 1 + 2 files changed, 15 insertions(+) create mode 100644 gcc/testsuite/g++.old-deja/g++.pt/lookup1.C create mode 100644 gcc/testsuite/g++.old-deja/g++.pt/parse1.C diff --git a/gcc/testsuite/g++.old-deja/g++.pt/lookup1.C b/gcc/testsuite/g++.old-deja/g++.pt/lookup1.C new file mode 100644 index 00000000000..359915cb6d7 --- /dev/null +++ b/gcc/testsuite/g++.old-deja/g++.pt/lookup1.C @@ -0,0 +1,14 @@ +// Build don't link: + +template + struct __vector_alloc_base +{ + typedef int allocator_type; +}; + +template + struct vector : __vector_alloc_base +{ + typedef short allocator_type; + explicit vector(const allocator_type& a = allocator_type()) {} +}; diff --git a/gcc/testsuite/g++.old-deja/g++.pt/parse1.C b/gcc/testsuite/g++.old-deja/g++.pt/parse1.C new file mode 100644 index 00000000000..e79afdd7316 --- /dev/null +++ b/gcc/testsuite/g++.old-deja/g++.pt/parse1.C @@ -0,0 +1 @@ + template combine { };