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++/15898] Error with templated operator delete not detected


------- Additional Comments From giovannibajo at libero dot it  2004-06-10 10:43 -------
I will note that we don't need to actually call the delete operator to detect 
the error, the declaration itself should be rejected. So the minimal testcase 
which should be rejected is:

-----------------------
template < typename T > 
void operator delete ( void* raw ) {} 
-----------------------


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|                            |2.95.3 3.3 3.4.0 3.5.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15898


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