From 7b9c57d3feec385e538e6ae4e53e88d6adaf2ae3 Mon Sep 17 00:00:00 2001 From: Alexandre Oliva Date: Wed, 7 Feb 2001 06:27:49 +0000 Subject: [PATCH] Tweak for new preprocessor From-SVN: r39512 --- gcc/testsuite/g++.old-deja/g++.jason/2371.C | 31 ++++----------------- 1 file changed, 5 insertions(+), 26 deletions(-) diff --git a/gcc/testsuite/g++.old-deja/g++.jason/2371.C b/gcc/testsuite/g++.old-deja/g++.jason/2371.C index f3dcd7c9bc4..5e45071e6ea 100644 --- a/gcc/testsuite/g++.old-deja/g++.jason/2371.C +++ b/gcc/testsuite/g++.old-deja/g++.jason/2371.C @@ -1,3 +1,4 @@ +# 1 "SetLS.cc" // GROUPS passed templates nested-classes // Special g++ Options: // @@ -12,6 +13,7 @@ #include #include + # 1 "../../templates/SetLS.h" 1 // -*- C++ -*- @@ -75,7 +77,7 @@ -# 26 "../../templates/ListS.h" 2 +# 23 "../../templates/ListS.h" 2 # 37 "../../templates/ListS.h" @@ -318,7 +320,7 @@ ListS::remove_head_filling(T* fill) } -# 39 "../../templates/SetLS.h" 2 +# 40 "../../templates/SetLS.h" 2 # 62 "../../templates/SetLS.h" @@ -420,33 +422,10 @@ SetLS::contains(const T& item) const } -# 14 "SetLS.cc" 2 +# 17 "SetLS.cc" 2 -# 1 "/projects/gnu-cygnus/gnu-cygnus-14/mips/lib/gcc-lib/decstation/cygnus-reno-1/g++-include/iostream.h" 1 3 -// This is part of the iostream library, providing -*- C++ -*- input/output. -// Copyright (C) 1991 Per Bothner. -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Library General Public -// License as published by the Free Software Foundation; either -// version 2 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Library General Public License for more details. -// -// You should have received a copy of the GNU Library General Public -// License along with this library; if not, write to the Free -// Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - -# 211 "/projects/gnu-cygnus/gnu-cygnus-14/mips/lib/gcc-lib/decstation/cygnus-reno-1/g++-include/iostream.h" 3 - -# 21 "SetLS.cc" 2 - - // In (most versions of) g++ 2.X, this use of typedefs has the effect // of causing the instantiation of the templates, thereby testing the // templates