File tree Expand file tree Collapse file tree 4 files changed +12
-2
lines changed Expand file tree Collapse file tree 4 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 3535// RUN: -enable-experimental-move-only
3636
3737// REQUIRES: concurrency
38- // REQUIRES: executable_test
3938// REQUIRES: swift_swift_parser
4039// REQUIRES: swift_feature_ParserASTGen
4140// REQUIRES: swift_feature_Extern
Original file line number Diff line number Diff line change 77// REQUIRES: executable_test
88// REQUIRES: concurrency
99
10+ // rdar://76038845
11+ // REQUIRES: concurrency_runtime
12+ // UNSUPPORTED: back_deployment_runtime
13+
1014import StdlibUnittest
1115import reasync
1216
Original file line number Diff line number Diff line change @@ -1424,11 +1424,16 @@ extension TestLeadingDot where Self == NoopImpl {
14241424struct NoopImpl : TestLeadingDot {
14251425}
14261426
1427+ @available ( SwiftStdlib 5 . 1 , * )
14271428func testLeadingDotSyntax( v: Int ) {
14281429 let x : some TestLeadingDot = . test {
14291430 v
14301431 }
14311432}
14321433
1433- testLeadingDotSyntax ( v: - 42 )
1434+ if #available( SwiftStdlib 5 . 1 , * ) {
1435+ testLeadingDotSyntax ( v: - 42 )
1436+ } else {
1437+ print ( " buildBlock: -42 " ) // Fallback for the back deployment bots
1438+ }
14341439// CHECK: buildBlock: -42
Original file line number Diff line number Diff line change 22
33// REQUIRES: executable_test
44
5+ // UNSUPPORTED: back_deployment_runtime
6+
57protocol P { }
68extension P {
79 func foo( ) -> some Sequence < Int > {
You can’t perform that action at this time.
0 commit comments