c++: Fix rejects-valid bug in cxx_eval_outermost_constant_expr [PR93905]
authorJakub Jelinek <jakub@redhat.com>
Wed, 26 Feb 2020 08:04:44 +0000 (09:04 +0100)
committerJakub Jelinek <jakub@redhat.com>
Wed, 26 Feb 2020 08:04:44 +0000 (09:04 +0100)
commit5de338f001eb2a821f40e599bd55119d43e0ae7e
tree6d355235f369c5c591fd09b2abd851b89e81757b
parent07a0e380d6245a1b7c00b5bec0e654700cfb8650
c++: Fix rejects-valid bug in cxx_eval_outermost_constant_expr [PR93905]

Add testcase for a bug that has been just on the 8 branch.

2020-02-26  Jakub Jelinek  <jakub@redhat.com>

PR c++/93905
* g++.dg/cpp0x/pr93905.C: New test.
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/pr93905.C [new file with mode: 0644]