From 887e3a1c5d3b4734f8a3ea3049d8db668ada8eaf Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Wed, 10 Jan 2024 17:09:01 -0500 Subject: [PATCH] testsuite: remove xfail These two lines have been getting XPASS since the test was added. gcc/testsuite/ChangeLog: * g++.dg/cpp23/explicit-obj-diagnostics7.C: Remove xfail. --- gcc/testsuite/g++.dg/cpp23/explicit-obj-diagnostics7.C | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/g++.dg/cpp23/explicit-obj-diagnostics7.C b/gcc/testsuite/g++.dg/cpp23/explicit-obj-diagnostics7.C index 023cdc2e0fea..d30ba5c961af 100644 --- a/gcc/testsuite/g++.dg/cpp23/explicit-obj-diagnostics7.C +++ b/gcc/testsuite/g++.dg/cpp23/explicit-obj-diagnostics7.C @@ -43,11 +43,11 @@ struct S : B { // these should be suppressed, the wording conflicts with the error // the issue is not that they don't override, it's that they do override, and that isn't allowed -// { dg-bogus "marked 'override', but does not override" "" { xfail *-*-* } line_f1 } +// { dg-bogus "marked 'override', but does not override" "" { target *-*-* } line_f1 } // { dg-bogus "marked 'final', but is not virtual" "" { xfail *-*-* } line_f2 } // { dg-bogus "marked '(override|final)'" "" { xfail *-*-* } line_f3 } -// { dg-bogus "marked 'override', but does not override" "" { xfail *-*-* } line_f5 } +// { dg-bogus "marked 'override', but does not override" "" { target *-*-* } line_f5 } // { dg-bogus "marked 'final', but is not virtual" "" { xfail *-*-* } line_f6 } // { dg-bogus "marked '(override|final)'" "" { xfail *-*-* } line_f7 } -- 2.47.2