This is the mail archive of the gcc-bugs@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]
Other format: [Raw text]

[Bug c++/27935] gcc fails to compile code with operator delete(void*,size_t)



------- 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


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