1 2 3 4 5 6 7 8 9 10 11 12 13 14
struct base { virtual ~base () throw () { } }; struct derived: base { ~derived () { } }; int main (int, char**) { derived d; }
1 2
Line 8: error: looser throw specifier for 'virtual derived::~derived()' compilation terminated due to -Wfatal-errors.