diff options
author | Marek Polacek <polacek@redhat.com> | 2022-12-02 14:43:26 -0500 |
---|---|---|
committer | Marek Polacek <polacek@redhat.com> | 2022-12-02 14:47:45 -0500 |
commit | 1998db0fa1f78e373c88daea8bb339d32b41e6aa (patch) | |
tree | 1d71f2b4b5207c42ad0cc8b563f85ee0ff2e8f0f /gcc/analyzer/checker-event.cc | |
parent | d19aa6af6634b1e97f38431ad091f3b3f12baf2f (diff) | |
download | gcc-1998db0fa1f78e373c88daea8bb339d32b41e6aa.zip gcc-1998db0fa1f78e373c88daea8bb339d32b41e6aa.tar.gz gcc-1998db0fa1f78e373c88daea8bb339d32b41e6aa.tar.bz2 |
testsuite: Adjust dg-error for -fimplicit-constexpr
Some of the new tests were failing with -fimplicit-constexpr. This
patch adjusts the expected diagnostic. Tested with
GXX_TESTSUITE_STDS=98,11,14,17,20,23 make check-c++ RUNTESTFLAGS="--target_board=unix\{,-fimplicit-constexpr\} dg.exp=spaceship-eq3.C"
gcc/testsuite/ChangeLog:
* g++.dg/cpp0x/constexpr-ex1.C: Adjust dg-error.
* g++.dg/cpp23/constexpr-nonlit10.C: Adjust dg-warning.
* g++.dg/cpp23/constexpr-nonlit11.C: Likewise.
* g++.dg/cpp2a/spaceship-eq3.C: Add dg-error.
Diffstat (limited to 'gcc/analyzer/checker-event.cc')
0 files changed, 0 insertions, 0 deletions