method.c (defaulted_late_check): Give the defaulted method the same exception specifi...
commit7c69566f11b2361bcfac2c53e385a271792d09f2
authorJason Merrill <jason@redhat.com>
Wed, 16 Jun 2010 15:45:22 +0000 (16 11:45 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 16 Jun 2010 15:45:22 +0000 (16 11:45 -0400)
tree7c7392e8a65a79e5d3162bb84ba287ea4f5f1339
parent33766b66e131cbab54238cbecb8b8c669565deff
method.c (defaulted_late_check): Give the defaulted method the same exception specification as the implicit...

* method.c (defaulted_late_check): Give the defaulted method
the same exception specification as the implicit declaration.

From-SVN: r160841
gcc/cp/ChangeLog
gcc/cp/method.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/noexcept01.C