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]

Re: eb103 -> committed


Martin von Loewis wrote:
> This is illegal C++, and egcs detects that.

Committed.   Thanx.
RJL


> 
> Index: eb103.C
> ===================================================================
> RCS file: /egcs/carton/cvsfiles/egcs/gcc/testsuite/g++.old-deja/g++.robertl/eb103.C,v
> retrieving revision 1.1
> diff -c -p -r1.1 eb103.C
> *** eb103.C	1998/05/27 23:00:35	1.1
> --- eb103.C	1998/05/30 12:33:57
> *************** template <int nlimb, int i>
> *** 5,11 ****
>   inline unsigned f (unsigned* ptr);
>   template <int nlimb>
>   inline unsigned f<nlimb,nlimb> (unsigned* ptr)
> ! {
>     return 1;
>   }
>   
> --- 5,11 ----
>   inline unsigned f (unsigned* ptr);
>   template <int nlimb>
>   inline unsigned f<nlimb,nlimb> (unsigned* ptr)
> ! {                        //ERROR - partial specialization of function?
>     return 1;
>   }
>   

-- 
Robert Lipe       http://www.dgii.com/people/robertl       robertl@dgii.com
              (WEB ADDRESS MAY BE TEMPORARILY UNAVAILABLE)




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