From e59ddd33242cf7fe02be9025c052c880f74c615b Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Fri, 25 Apr 2025 12:35:01 +0100 Subject: [PATCH] libstdc++: Remove c++98_only dg-error 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 | 1 - 1 file changed, 1 deletion(-) diff --git a/libstdc++-v3/testsuite/22_locale/ctype/is/string/89728_neg.cc b/libstdc++-v3/testsuite/22_locale/ctype/is/string/89728_neg.cc index a34b2aed9710..24aba99376f2 100644 --- a/libstdc++-v3/testsuite/22_locale/ctype/is/string/89728_neg.cc +++ b/libstdc++-v3/testsuite/22_locale/ctype/is/string/89728_neg.cc @@ -18,7 +18,6 @@ // . // { dg-error "invalid use of incomplete type" "" { target *-*-* } 0 } -// { dg-error "invalid 'static_cast'" "" { target c++98_only } 0 } #include -- 2.47.2