diff options
author | Jason Merrill <jason@redhat.com> | 2025-05-02 09:33:39 -0400 |
---|---|---|
committer | Jason Merrill <jason@redhat.com> | 2025-05-02 09:36:58 -0400 |
commit | b7e77644d1b27810c5db1944644b6c5eca74cf93 (patch) | |
tree | 251cee8a249e5d9e68d0c596c769d827627ce8d5 /gcc/c/c-errors.cc | |
parent | e6e3b0772ed40cc65a544bbe744ece62d8b9713e (diff) | |
download | gcc-b7e77644d1b27810c5db1944644b6c5eca74cf93.zip gcc-b7e77644d1b27810c5db1944644b6c5eca74cf93.tar.gz gcc-b7e77644d1b27810c5db1944644b6c5eca74cf93.tar.bz2 |
c++: fix some testcases
After r16-332 these tests started failing. constexpr-89285.C should have
always given this error, and the new nonlit19.C needs to remove the
destructor body to prevent -fimplicit-constexpr from making the testcase
well-formed.
gcc/testsuite/ChangeLog:
* g++.dg/cpp1y/constexpr-89285.C: Always diagnose reinterpret_cast.
* g++.dg/cpp23/constexpr-nonlit19.C: Remove ~A body.
Diffstat (limited to 'gcc/c/c-errors.cc')
0 files changed, 0 insertions, 0 deletions