re PR c++/15339 ([DR217] Adding default arguments to function templates in…
re PR c++/15339 ([DR217] Adding default arguments to function templates in redeclarations should be forbidden) /cp 2014-08-02 Paolo Carlini <paolo.carlini@oracle.com> PR c++/15339 * decl.c (check_redeclaration_no_default_args): New. (duplicate_decls): Use it, handle default arguments in redeclarations of function templates. /testsuite 2014-08-02 Paolo Carlini <paolo.carlini@oracle.com> PR c++/15339 * g++.dg/other/default9.C: New. * g++.dg/other/default10.C: Likewise. * g++.dg/other/default3.C: Remove xfail. From-SVN: r213519
Showing
gcc/testsuite/g++.dg/other/default10.C
0 → 100644
gcc/testsuite/g++.dg/other/default9.C
0 → 100644
Please
register
or
sign in
to comment