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]

eb82


This is not valid C++.

Martin

Index: eb82.C
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/testsuite/g++.old-deja/g++.robertl/eb82.C,v
retrieving revision 1.1
diff -c -p -r1.1 eb82.C
*** eb82.C	1998/05/27 23:00:36	1.1
--- eb82.C	1998/06/01 10:23:42
***************
*** 2,8 ****
  
  template <int n1>
  double val <int> ()
! {
     return (double) n1;
  };
  
--- 2,8 ----
  
  template <int n1>
  double val <int> ()
! {                          // ERROR - bogus code
     return (double) n1;
  };
  


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]