Tested x86_64-pc-linux-gnu, applying to trunk. -- 8< --
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 023cdc2e0fe..d30ba5c961a 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 } base-commit: 31461d2b651e1db6114cf7ab64ac1508410cf2f2 -- 2.39.3