Core 1135
authorJason Merrill <jason@redhat.com>
Fri, 25 Mar 2011 16:17:08 +0000 (12:17 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 25 Mar 2011 16:17:08 +0000 (12:17 -0400)
commit5ade176d5eb914bf78919ac2f610599059fba340
tree6d637e3253d81a75c9cb50f2011950b451eff6da
parent7eda336814b5c8d3ed37b4f9055889c6651eb1bb
Core 1135

Core 1135
* method.c (defaulted_late_check): Check for exception spec mismatch.
(defaultable_fn_check): Allow exception spec and virtual.
* class.c (check_for_override): A virtual dtor is non-trivial.

From-SVN: r171462
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/cp/method.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/defaulted15.C
gcc/testsuite/g++.dg/cpp0x/defaulted22.C [new file with mode: 0644]
gcc/testsuite/g++.dg/cpp0x/defaulted23.C [new file with mode: 0644]