This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
eb fix 1
- To: egcs-patches at cygnus dot com
- Subject: eb fix 1
- From: Martin von Loewis <martin at mira dot isdn dot cs dot tu-berlin dot de>
- Date: Thu, 28 May 1998 21:16:42 +0200
I start looking into some of Robert's digressions.
This code is in error, and egcs detects that.
We might want to remove it.
Martin
Index: eb118.C
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/testsuite/g++.old-deja/g++.robertl/eb118.C,v
retrieving revision 1.1
diff -c -p -r1.1 eb118.C
*** eb118.C 1998/05/27 23:00:35 1.1
--- eb118.C 1998/05/28 19:13:56
*************** A<T>::test(){
*** 13,23 ****
cerr << "test for " << typeid(*this).name() << endl;
}
// Specialization declaration
! void
A<double>::test();
// Specialization definition
! void
A<double>::test(){ // ============= LINE 21 ==================
cerr << "specialization for " << typeid(*this).name() << endl;
}
--- 13,23 ----
cerr << "test for " << typeid(*this).name() << endl;
}
// Specialization declaration
! void // ERROR - not a specialization
A<double>::test();
// Specialization definition
! void // ERROR - not a specialization
A<double>::test(){ // ============= LINE 21 ==================
cerr << "specialization for " << typeid(*this).name() << endl;
}