From 08017b74f3b9f1b88013d61db295bd50e8b5f113 Mon Sep 17 00:00:00 2001 From: Mark Mitchell Date: Mon, 30 Aug 1999 05:36:00 +0000 Subject: [PATCH] pt.c (push_template_decl_real): Use template declaration from class type if it exists. * pt.c (push_template_decl_real): Use template declaration from class type if it exists. From-SVN: r28979 --- gcc/testsuite/g++.old-deja/g++.ns/template13.C | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/g++.old-deja/g++.ns/template13.C b/gcc/testsuite/g++.old-deja/g++.ns/template13.C index 193451e3d08..c1bca73140c 100644 --- a/gcc/testsuite/g++.old-deja/g++.ns/template13.C +++ b/gcc/testsuite/g++.old-deja/g++.ns/template13.C @@ -4,7 +4,7 @@ namespace bar { template void foo(); // trick it to provide some prior declaration - templateclass X; + templateclass X; // ERROR - previous declaration } template @@ -19,4 +19,4 @@ template<> void bar::foo() } template -class bar::X{}; // ERROR - does not match declaration - XFAIL *-*-* +class bar::X{}; // ERROR - does not match declaration -- 2.30.2