diff options
author | Paolo Carlini <paolo.carlini@oracle.com> | 2015-03-10 22:20:41 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2015-03-10 22:20:41 +0000 |
commit | 58cbf8d4dcaa6d0d81cd94bc3e8001b419265dd0 (patch) | |
tree | cf5ced19b7d49227299751b10fdc0edf1b11b546 /gcc/c | |
parent | 2d977ff983f86b3f7b7c9f1cb5a479af75cd589e (diff) | |
download | gcc-58cbf8d4dcaa6d0d81cd94bc3e8001b419265dd0.zip gcc-58cbf8d4dcaa6d0d81cd94bc3e8001b419265dd0.tar.gz gcc-58cbf8d4dcaa6d0d81cd94bc3e8001b419265dd0.tar.bz2 |
re PR c++/65370 (r213519 causes: error: redeclaration of 'template... may not have default arguments [-fpermissive])
/cp
2015-03-10 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/65370
* decl.c (duplicate_decls): Call check_redeclaration_no_default_args
only if the location of newdecl doesn't match the location of olddecl.
/testsuite
2015-03-10 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/65370
* g++.dg/other/default11.C: New.
* g++.dg/other/default12.C: Likewise.
From-SVN: r221337
Diffstat (limited to 'gcc/c')
0 files changed, 0 insertions, 0 deletions