Checks
Commit Message
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(-)
base-commit: 31461d2b651e1db6114cf7ab64ac1508410cf2f2
@@ -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 }