This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
eb82
- To: egcs-patches at cygnus dot com
- Subject: eb82
- From: Martin von Loewis <martin at mira dot isdn dot cs dot tu-berlin dot de>
- Date: Mon, 1 Jun 1998 12:37:17 +0200
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;
};