This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
> This had the return values reversed: catching the exception is success. Committed. Thank you. RJL > > 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; > } > } -- Robert Lipe http://www.dgii.com/people/robertl robertl@dgii.com (WEB ADDRESS MAY BE TEMPORARILY UNAVAILABLE)
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |