eb98

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


I believe g++ is not required to infer the array length across
translation units :-) This is invalid code.

Martin

Index: eb98.C
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/testsuite/g++.old-deja/g++.robertl/eb98.C,v
retrieving revision 1.1
diff -c -p -r1.1 eb98.C
*** eb98.C	1998/05/27 23:00:36	1.1
--- eb98.C	1998/06/01 10:23:42
***************
*** 13,17 ****
  
      void f()
      {
!             extent(b);
      }
--- 13,17 ----
  
      void f()
      {
!       extent(b);  // ERROR - no matching function
      }



More information about the Gcc-patches mailing list