diff options
author | Marek Polacek <polacek@redhat.com> | 2021-01-06 12:15:36 -0500 |
---|---|---|
committer | Marek Polacek <polacek@redhat.com> | 2021-01-06 12:16:05 -0500 |
commit | e6a5daae7ec5318c3949432d92b7f674dab5241d (patch) | |
tree | a14fd058136e95dfd0425b4f88eeac98555ce9de /gcc/tree-ssa-loop-manip.h | |
parent | 6d0b075d662e277a9847f7e8c17d34e7866f0cec (diff) | |
download | gcc-e6a5daae7ec5318c3949432d92b7f674dab5241d.zip gcc-e6a5daae7ec5318c3949432d92b7f674dab5241d.tar.gz gcc-e6a5daae7ec5318c3949432d92b7f674dab5241d.tar.bz2 |
c++: Fix g++.dg/warn/Wmismatched-dealloc.C for C++11 [PR98566]
C++ sized deallocation only came in C++14, so this test wasn't
working properly in C++11, which isn't tested by default. Fixed
thus by constraining the dg-errors to C++14 only.
gcc/testsuite/ChangeLog:
PR testsuite/98566
* g++.dg/warn/Wmismatched-dealloc.C: Use target c++14 in
dg-error.
Diffstat (limited to 'gcc/tree-ssa-loop-manip.h')
0 files changed, 0 insertions, 0 deletions