]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: Make dg-error pattern more accurate
authorJonathan Wakely <jwakely@redhat.com>
Thu, 1 Aug 2024 04:53:03 +0000 (06:53 +0200)
committerFrançois Dumont <fdumont@gcc.gnu.org>
Thu, 1 Aug 2024 16:52:55 +0000 (18:52 +0200)
commit0d514c11ef5931d61917c0c663646e73154f8473
tree86c89edd73dfd25dfebbd363b3dd17f19e9505bc
parent295b729da5aa430a8c5df1422644159ca8bf8dcb
libstdc++: Make dg-error pattern more accurate

Remove useless test variable and use a more accurate dg-error pattern so
that only the ill-formed expression compilation error is considered.

libstdc++-v3/ChangeLog:

* testsuite/23_containers/map/operators/1_neg.cc (test01): Remove test variable
and use 'no match' dg-error patter.
* testsuite/23_containers/set/operators/1_neg.cc (test01): Likewise.
libstdc++-v3/testsuite/23_containers/map/operators/1_neg.cc
libstdc++-v3/testsuite/23_containers/set/operators/1_neg.cc