Skip to content

Commit d3aa3a8

Browse files
committed
Adjust XFAILs
1 parent 918bd3d commit d3aa3a8

File tree

8 files changed

+16
-0
lines changed

8 files changed

+16
-0
lines changed

test/Generics/inverse_signatures.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// RUN: %target-swift-frontend -enable-experimental-feature NoncopyableGenerics -enable-experimental-feature NonescapableTypes -verify -typecheck %s -debug-generic-signatures -debug-inverse-requirements 2>&1 | %FileCheck %s --implicit-check-not "error:"
22

33
// REQUIRES: noncopyable_generics
4+
// XFAIL: noncopyable_generics
45

56
// CHECK-LABEL: (file).genericFn@
67
// CHECK: Generic signature: <T where T : Copyable, T : Escapable>

test/Generics/rdar123013710.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
// RUN: %target-typecheck-verify-swift
22

3+
// XFAIL: noncopyable_generics
4+
35
public protocol P {
46
associatedtype A
57
associatedtype B: P

test/PlaygroundTransform/generics.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
// RUN: %target-run %t/main2 | %FileCheck %s
1010
// REQUIRES: executable_test
1111

12+
// XFAIL: noncopyable_generics
13+
1214
import PlaygroundSupport
1315

1416
func id<T>(_ t: T) -> T {

test/PlaygroundTransform/implicit_return_func_binaryoperation_args.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
// RUN: %target-run %t/main2 | %FileCheck %s
1010
// REQUIRES: executable_test
1111

12+
// XFAIL: noncopyable_generics
13+
1214
import PlaygroundSupport
1315

1416
func add<I : SignedNumeric>(_ lhs: I, _ rhs: I) -> I {

test/PlaygroundTransform/implicit_return_func_is.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
// RUN: %target-run %t/main2 | %FileCheck %s
1010
// REQUIRES: executable_test
1111

12+
// XFAIL: noncopyable_generics
13+
1214
import PlaygroundSupport
1315

1416
func iss<T>(_ instance: Any, anInstanceOf type: T.Type) -> Bool {

test/decl/protocol/protocols.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
// RUN: %target-typecheck-verify-swift -enable-objc-interop
2+
3+
// XFAIL: noncopyable_generics
4+
25
protocol EmptyProtocol { }
36

47
protocol DefinitionsInProtocols {

validation-test/compiler_crashers_2_fixed/rdar123543175.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
// RUN: %target-typecheck-verify-swift
22

3+
// XFAIL: noncopyable_generics
4+
35
public enum E : E.R {
46
// expected-error@-1 {{'E' has a raw type that depends on itself}}
57
// expected-note@-2 2{{through reference here}}

validation-test/compiler_crashers_fixed/28795-inprotocol-isrequirementsignaturecomputed-missing-signature.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
// See https://swift.org/LICENSE.txt for license information
66
// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
77

8+
// XFAIL: noncopyable_generics
9+
810
// RUN: not %target-swift-frontend %s -emit-ir
911
protocol A:A.b{func
1012
protocol b:Collection

0 commit comments

Comments
 (0)