diff options
author | Nathan Sidwell <nathan@acm.org> | 2020-11-19 08:00:49 -0800 |
---|---|---|
committer | Nathan Sidwell <nathan@acm.org> | 2020-11-19 09:56:30 -0800 |
commit | 255483e5b70beade63efdf1f3efa6b814831da08 (patch) | |
tree | f9abf5a9329e47af9c023413e96ab45badb49c52 /gcc/fold-const.c | |
parent | 5ace1776b88d4b0fc371414d0b3983015e22fead (diff) | |
download | gcc-255483e5b70beade63efdf1f3efa6b814831da08.zip gcc-255483e5b70beade63efdf1f3efa6b814831da08.tar.gz gcc-255483e5b70beade63efdf1f3efa6b814831da08.tar.bz2 |
c++: Relax new assert [PR 97905]
It turns out there are legitimate cases for the new decl to not have
lang-specific.
PR c++/97905
gcc/cp/
* decl.c (duplicate_decls): Relax new assert.
gcc/testsuite/
* g++.dg/lookup/pr97905.C: New.
Diffstat (limited to 'gcc/fold-const.c')
0 files changed, 0 insertions, 0 deletions