------- Comment #1 from redi at gcc dot gnu dot org  2010-09-13 16:55 -------
Not a regression, and G++ 4.6 correctly rejects it:

pr.cc:12:8: error: looser throw specifier for 'virtual Derived::~Derived()
throw (Viral::Dose)'
pr.cc:9:11: error:   overriding 'virtual Base::~Base() throw ()'

EDG (Comeau online) also accepts it.


redi at gcc dot gnu dot org changed:

           What    |Removed                     |Added
           Keywords|                            |accepts-invalid
      Known to work|                            |4.6.0


Reply via email to