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 35
35
// RUN: -enable-experimental-move-only
36
36
37
37
// REQUIRES: concurrency
38
- // REQUIRES: executable_test
39
38
// REQUIRES: swift_swift_parser
40
39
// REQUIRES: swift_feature_ParserASTGen
41
40
// REQUIRES: swift_feature_Extern
Original file line number Diff line number Diff line change 7
7
// REQUIRES: executable_test
8
8
// REQUIRES: concurrency
9
9
10
+ // rdar://76038845
11
+ // REQUIRES: concurrency_runtime
12
+ // UNSUPPORTED: back_deployment_runtime
13
+
10
14
import StdlibUnittest
11
15
import reasync
12
16
Original file line number Diff line number Diff line change @@ -1424,11 +1424,16 @@ extension TestLeadingDot where Self == NoopImpl {
1424
1424
struct NoopImpl : TestLeadingDot {
1425
1425
}
1426
1426
1427
+ @available ( SwiftStdlib 5 . 1 , * )
1427
1428
func testLeadingDotSyntax( v: Int ) {
1428
1429
let x : some TestLeadingDot = . test {
1429
1430
v
1430
1431
}
1431
1432
}
1432
1433
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
+ }
1434
1439
// CHECK: buildBlock: -42
Original file line number Diff line number Diff line change 2
2
3
3
// REQUIRES: executable_test
4
4
5
+ // UNSUPPORTED: back_deployment_runtime
6
+
5
7
protocol P { }
6
8
extension P {
7
9
func foo( ) -> some Sequence < Int > {
You can’t perform that action at this time.
0 commit comments