re PR c++/92078 (error: 'struct std::ptr<Iter>' redeclared with different access)
authorAndrew Sutton <asutton@lock3software.com>
Tue, 19 Nov 2019 15:18:50 +0000 (15:18 +0000)
committerAndrew Sutton <asutton@gcc.gnu.org>
Tue, 19 Nov 2019 15:18:50 +0000 (15:18 +0000)
commitcce3c9db9e6ffad764504134336c714a90416e8d
tree52263d6890f1c2ba154074c7465dc27b9f8599c0
parent7aabd67f18fb1e0ef4c9981667284c2e57816e01
re PR c++/92078 (error: 'struct std::ptr<Iter>' redeclared with different access)

PR c++/92078

gcc/cp/
* pt.c (maybe_new_partial_specialization): Apply access to newly
created partial specializations. Update comment style.

gcc/testsuite/
* g++.dg/cpp2a/concepts-pr92078.C: New.
  * g++.dg/cpp2a/concepts-requires18.C: Update diagnostics.

From-SVN: r278450
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp2a/concepts-pr92078.C [new file with mode: 0644]
gcc/testsuite/g++.dg/cpp2a/concepts-requires18.C