http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59760
gaba <gaba at freemail dot hu> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gaba at freemail dot hu --- Comment #4 from gaba <gaba at freemail dot hu> --- Created attachment 32263 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32263&action=edit Sample 2 Similar code and same error message: struct A { virtual ~A(); }; struct B { virtual ~B(); }; template <int a = 1> struct C : A, B { ~C() = default; }; struct D : C<> { }; int main( int , char **) { D d; } Both samples working properly with GCC 4.9 (svn r208316).