This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
eb50
- To: egcs-patches at cygnus dot com
- Subject: eb50
- From: Martin von Loewis <martin at mira dot isdn dot cs dot tu-berlin dot de>
- Date: Sat, 30 May 1998 14:44:35 +0200
This had the return values reversed: catching the exception is success.
Martin
Index: eb50.C
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/testsuite/g++.old-deja/g++.robertl/eb50.C,v
retrieving revision 1.1
diff -c -p -r1.1 eb50.C
*** eb50.C 1998/05/27 23:00:36 1.1
--- eb50.C 1998/05/30 12:33:58
*************** int main()
*** 9,16 ****
{
try {
f(0, 0);
- return 0;
- } catch (foo x) {
return 1;
}
}
--- 9,16 ----
{
try {
f(0, 0);
return 1;
+ } catch (foo x) {
+ return 0;
}
}