]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libstdc++: Remove c++98_only dg-error
authorJonathan Wakely <jwakely@redhat.com>
Fri, 25 Apr 2025 11:35:01 +0000 (12:35 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Fri, 25 Apr 2025 11:41:01 +0000 (12:41 +0100)
This fixes
FAIL: 22_locale/ctype/is/string/89728_neg.cc  -std=gnu++98  (test for errors, line )

Since r16-133-g8acea9ffa82ed8 we don't keep issuing more errors after
the first one, so this dg-error no longer matches anything.

libstdc++-v3/ChangeLog:

* testsuite/22_locale/ctype/is/string/89728_neg.cc: Remove
dg-error for c++98_only effective target.

libstdc++-v3/testsuite/22_locale/ctype/is/string/89728_neg.cc

index a34b2aed97108ee1b459706ae5528d4f46cd01df..24aba99376f2ad251568ec7a284a2cd70b78154a 100644 (file)
@@ -18,7 +18,6 @@
 // <http://www.gnu.org/licenses/>.
 
 // { dg-error "invalid use of incomplete type" "" { target *-*-* } 0 }
-// { dg-error "invalid 'static_cast'" "" { target c++98_only } 0 }
 
 #include <locale>