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

--- Comment #14 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-01-19 
06:14:08 UTC ---
Now the diagnostic says:
t7.cc:3:13: error: no matching function for call to ‘X::~X()’
t7.cc:3:13: note: candidate is:
t7.cc:5:13: note: virtual X::~X()
t7.cc:5:13: note:   candidate expects 1 argument, 0 provided

Reply via email to