File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -488,6 +488,7 @@ func testNoescape() {
488
488
// Despite being a noescape closure, this needs to capture 'a' by-box so it can
489
489
// be passed to the capturing closure.closure
490
490
// CHECK: closure #1 () -> () in functions.testNoescape() -> ()
491
+ // CHECK-NEXT: Isolation: nonisolated
491
492
// CHECK-NEXT: sil private [ossa] @$s9functions12testNoescapeyyFyyXEfU_ : $@convention(thin) (@guaranteed { var Int }) -> () {
492
493
493
494
@@ -508,7 +509,9 @@ func testNoescape2() {
508
509
// CHECK-LABEL: sil hidden [ossa] @$s9functions13testNoescape2yyF : $@convention(thin) () -> () {
509
510
510
511
// CHECK: // closure #1 () -> () in functions.testNoescape2() -> ()
512
+ // CHECK-NEXT: Isolation: nonisolated
511
513
// CHECK-NEXT: sil private [ossa] @$s9functions13testNoescape2yyFyyXEfU_ : $@convention(thin) (@guaranteed { var Int }) -> () {
512
514
513
515
// CHECK: // closure #1 () -> () in closure #1 () -> () in functions.testNoescape2() -> ()
516
+ // CHECK-NEXT: Isolation: nonisolated
514
517
// CHECK-NEXT: sil private [ossa] @$s9functions13testNoescape2yyFyyXEfU_yycfU_ : $@convention(thin) (@guaranteed { var Int }) -> () {
You can’t perform that action at this time.
0 commit comments