This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: [C++] g++ isn't checking for class abstractness at instanciation time
- To: Gabriel Dos_Reis <Gabriel dot Dos_Reis at sophia dot inria dot fr>
- Subject: Re: [C++] g++ isn't checking for class abstractness at instanciation time
- From: Alexandre Oliva <oliva at dcc dot unicamp dot br>
- Date: 13 Jul 1999 04:15:51 -0300
- Cc: egcs-bugs at egcs dot cygnus dot com
- References: <xaj908m67kw.fsf@korrigan.inria.fr>
On Jul 11, 1999, Gabriel Dos_Reis <Gabriel.Dos_Reis@sophia.inria.fr> wrote:
> The following is a test case, adapted from a post on
> news:fr.comp.lang.c++, demonstrating a bug in g++'s template
> instanciation machinery. The call g<int>() is ill-formed and should
> be rejected.
Yup, fixed for gcc 2.95
--
Alexandre Oliva http://www.dcc.unicamp.br/~oliva IC-Unicamp, Bra[sz]il
oliva@{dcc.unicamp.br,guarana.{org,com}} aoliva@{acm.org,computer.org}
oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
** I may forward mail about projects to mailing lists; please use them