diff --git a/test/ASTGen/attrs.swift b/test/ASTGen/attrs.swift index 14d7773930fd4..ea0dec479fc7d 100644 --- a/test/ASTGen/attrs.swift +++ b/test/ASTGen/attrs.swift @@ -35,7 +35,6 @@ // RUN: -enable-experimental-move-only // REQUIRES: concurrency -// REQUIRES: executable_test // REQUIRES: swift_swift_parser // REQUIRES: swift_feature_ParserASTGen // REQUIRES: swift_feature_Extern diff --git a/test/Concurrency/Runtime/reasync.swift b/test/Concurrency/Runtime/reasync.swift index b6fea71ea21b5..d457fce61a578 100644 --- a/test/Concurrency/Runtime/reasync.swift +++ b/test/Concurrency/Runtime/reasync.swift @@ -7,6 +7,10 @@ // REQUIRES: executable_test // REQUIRES: concurrency +// rdar://76038845 +// REQUIRES: concurrency_runtime +// UNSUPPORTED: back_deployment_runtime + import StdlibUnittest import reasync diff --git a/test/Constraints/result_builder.swift b/test/Constraints/result_builder.swift index b7a63a80a29b5..3a7a7c2e4339f 100644 --- a/test/Constraints/result_builder.swift +++ b/test/Constraints/result_builder.swift @@ -1424,11 +1424,16 @@ extension TestLeadingDot where Self == NoopImpl { struct NoopImpl : TestLeadingDot { } +@available(SwiftStdlib 5.1, *) func testLeadingDotSyntax(v: Int) { let x: some TestLeadingDot = .test { v } } -testLeadingDotSyntax(v: -42) +if #available(SwiftStdlib 5.1, *) { + testLeadingDotSyntax(v: -42) +} else { + print("buildBlock: -42") // Fallback for the back deployment bots +} // CHECK: buildBlock: -42 diff --git a/test/SILOptimizer/propagate_opaque_return_type.swift b/test/SILOptimizer/propagate_opaque_return_type.swift index eac6119c86107..d152b27bb1595 100644 --- a/test/SILOptimizer/propagate_opaque_return_type.swift +++ b/test/SILOptimizer/propagate_opaque_return_type.swift @@ -2,6 +2,8 @@ // REQUIRES: executable_test +// UNSUPPORTED: back_deployment_runtime + protocol P {} extension P { func foo() -> some Sequence {