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() {
488488// Despite being a noescape closure, this needs to capture 'a' by-box so it can
489489// be passed to the capturing closure.closure
490490// CHECK: closure #1 () -> () in functions.testNoescape() -> ()
491+ // CHECK-NEXT: Isolation: nonisolated
491492// CHECK-NEXT: sil private [ossa] @$s9functions12testNoescapeyyFyyXEfU_ : $@convention(thin) (@guaranteed { var Int }) -> () {
492493
493494
@@ -508,7 +509,9 @@ func testNoescape2() {
508509// CHECK-LABEL: sil hidden [ossa] @$s9functions13testNoescape2yyF : $@convention(thin) () -> () {
509510
510511// CHECK: // closure #1 () -> () in functions.testNoescape2() -> ()
512+ // CHECK-NEXT: Isolation: nonisolated
511513// CHECK-NEXT: sil private [ossa] @$s9functions13testNoescape2yyFyyXEfU_ : $@convention(thin) (@guaranteed { var Int }) -> () {
512514
513515// CHECK: // closure #1 () -> () in closure #1 () -> () in functions.testNoescape2() -> ()
516+ // CHECK-NEXT: Isolation: nonisolated
514517// CHECK-NEXT: sil private [ossa] @$s9functions13testNoescape2yyFyyXEfU_yycfU_ : $@convention(thin) (@guaranteed { var Int }) -> () {
You can’t perform that action at this time.
0 commit comments