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]

eb93


I'm not sure whether the missing semicolon was intentional; g++ detects it.

Martin

Index: eb93.C
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/testsuite/g++.old-deja/g++.robertl/eb93.C,v
retrieving revision 1.1
diff -c -p -r1.1 eb93.C
*** eb93.C	1998/05/27 23:00:36	1.1
--- eb93.C	1998/06/01 10:23:42
*************** inline double Sine()
*** 26,30 ****
  int main()
  {
    double f=Sine<32,5>()
!   return 0;
  }
--- 26,30 ----
  int main()
  {
    double f=Sine<32,5>()
!   return 0;               // ERROR - parse error
  }


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