eb11

Martin von Loewis martin@mira.isdn.cs.tu-berlin.de
Mon Jun 1 03:45:00 GMT 1998


This test case makes no sense with meta_max not being defined (i.e.
everybody would expect errors, and we get errors).

With this patch, the case passes.

Martin

Index: eb11.C
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/testsuite/g++.old-deja/g++.robertl/eb11.C,v
retrieving revision 1.1
diff -c -p -r1.1 eb11.C
*** eb11.C	1998/05/27 23:00:35	1.1
--- eb11.C	1998/06/01 10:23:40
***************
*** 1,12 ****
  // Build don't link:
  
- #define NO_META_MAX
- #ifndef NO_META_MAX
  template<int N1, int N2>
  struct meta_max {
      enum { max = (N1 > N2) ? N1 : N2 };
  };
- #endif
  
  struct X {
      enum {
--- 1,9 ----



More information about the Gcc-patches mailing list