re PR c++/64901 (overriding final function defined out of line does not lead to an...
authorVille Voutilainen <ville.voutilainen@gmail.com>
Tue, 3 Feb 2015 02:49:42 +0000 (04:49 +0200)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 3 Feb 2015 02:49:42 +0000 (21:49 -0500)
commit879887f1d250f677eb22d9aec6714ce131fd995b
treefbd3dcc17bb1e58f29e78e17a2c5e8d6616018cb
parentcf55ec5696f2cfff129869dbefab85a2866b80d3
re PR c++/64901 (overriding final function defined out of line does not lead to an error)

PR c++/64901
* decl.c (duplicate_decls): Also duplicate DECL_FINAL_P and
DECL_OVERRIDE_P.

From-SVN: r220363
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/g++.dg/cpp0x/override1.C