This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/27935] gcc fails to compile code with operator delete(void*,size_t)
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Jun 2006 16:44:48 -0000
- Subject: [Bug c++/27935] gcc fails to compile code with operator delete(void*,size_t)
- References: <bug-27935-3386@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from pinskia at gcc dot gnu dot org 2006-06-07 16:44 -------
A full testcase:
struct a
{
void operator delete (void*, unsigned int);
~a();
};
void g(a *b)
{
delete b;
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27935