]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: remove xfail
authorJason Merrill <jason@redhat.com>
Wed, 10 Jan 2024 22:09:01 +0000 (17:09 -0500)
committerJason Merrill <jason@redhat.com>
Thu, 11 Jan 2024 15:51:11 +0000 (10:51 -0500)
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

index 023cdc2e0fea218476be5622b1fe4779b95b420f..d30ba5c961affe0153174ad445ce0beb81f9b913 100644 (file)
@@ -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 }