diff options
author | Paolo Carlini <paolo.carlini@oracle.com> | 2018-08-07 16:40:18 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2018-08-07 16:40:18 +0000 |
commit | 6429b8e0f1ecb9fe2993a66623df1936b0886bfa (patch) | |
tree | 5c9ad3b129b647e5d47ffff789bad9149febb9d9 /libcpp | |
parent | 1d1b732865a2dd3a97b8a8e605d7c5906ab0df0e (diff) | |
download | gcc-6429b8e0f1ecb9fe2993a66623df1936b0886bfa.zip gcc-6429b8e0f1ecb9fe2993a66623df1936b0886bfa.tar.gz gcc-6429b8e0f1ecb9fe2993a66623df1936b0886bfa.tar.bz2 |
PR c++/59480, DR 136
/cp
2018-08-07 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/59480, DR 136
* decl.c (check_no_redeclaration_friend_default_args): New.
(duplicate_decls): Use the latter; also check that a friend
declaration specifying default arguments is a definition.
/testsuite
2018-08-07 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/59480, DR 136
* g++.dg/other/friend8.C: New.
* g++.dg/other/friend9.C: Likewise.
* g++.dg/other/friend10.C: Likewise.
* g++.dg/other/friend11.C: Likewise.
* g++.dg/other/friend12.C: Likewise.
* g++.dg/other/friend13.C: Likewise.
* g++.dg/other/friend14.C: Likewise.
* g++.dg/other/friend15.C: Likewise.
* g++.dg/parse/defarg4.C: Compile with -fpermissive -w.
* g++.dg/parse/defarg8.C: Likewise.
From-SVN: r263361
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions