Skip to content

Commit ef6f301

Browse files
committed
Test: update for NoncopyableGenerics infra.
(cherry picked from commit bb51be7)
1 parent c7a75a4 commit ef6f301

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

validation-test/ParseableInterface/broken-optionset.swiftinterface

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
// RUN: not %target-swift-frontend -typecheck-module-from-interface -module-name Broken %s 2>%t/interface-verification-errors.txt
77
// RUN: %FileCheck %s < %t/interface-verification-errors.txt
88

9-
// XFAIL: noncopyable_generics
10-
119
import Swift
1210

1311
// This type is meant to shadow the name of the module, creating an ambiguity.
@@ -29,10 +27,7 @@ public struct BrokenOptions : Swift.OptionSet {
2927
// CHECK: error: 'BrokenOptions' is not a member type of struct 'Broken.Broken'
3028

3129
// CHECK: error: type 'BrokenOptions' does not conform to protocol 'OptionSet'
32-
// CHECK: error: type 'BrokenOptions' does not conform to protocol 'SetAlgebra'
33-
// CHECK: note: candidate would match if 'BrokenOptions.Element' was the same type as 'τ_0_0.Element'
3430
// CHECK: error: type 'BrokenOptions' does not conform to protocol 'ExpressibleByArrayLiteral'
3531
// CHECK: note: protocol requires nested type 'Element'; add nested type 'Element' for conformance
36-
// CHECK: note: protocol requires initializer 'init(_:)' with type 'S'
3732
// CHECK: note: protocol requires nested type 'ArrayLiteralElement'; add nested type 'ArrayLiteralElement' for conformance
3833
// CHECK: error: failed to verify module interface of 'Broken' due to the errors above; the textual interface may be broken by project issues, differences between compilers

0 commit comments

Comments
 (0)