@@ -32,8 +32,8 @@ func testNoRemoveFunctionResultSubTypeResult() -> sending S<() -> sending NonSen
3232// CHECK: sil hidden [ossa] @sending_mangling.testNoRemoveFunctionResultImmediateTypedFunctionWithArg() -> (sending __owned sending_mangling.NonSendableKlass) -> () : $@convention(thin) () -> @owned @callee_guaranteed (@sil_sending @owned NonSendableKlass) -> () {
3333func testNoRemoveFunctionResultImmediateTypedFunctionWithArg( ) -> ( ( sending NonSendableKlass) -> ( ) ) { fatalError ( ) }
3434
35- // CHECK: sil hidden [ossa] @sending_mangling.testNoRemoveFunctionResultImmedateTypedFunctionWithResult () -> () -> sending sending_mangling.NonSendableKlass : $@convention(thin) () -> @owned @callee_guaranteed () -> @sil_sending @owned NonSendableKlass {
36- func testNoRemoveFunctionResultImmedateTypedFunctionWithResult ( ) -> ( ( ) -> sending NonSendableKlass) { fatalError ( ) }
35+ // CHECK: sil hidden [ossa] @sending_mangling.testNoRemoveFunctionResultImmediateTypedFunctionWithResult () -> () -> sending sending_mangling.NonSendableKlass : $@convention(thin) () -> @owned @callee_guaranteed () -> @sil_sending @owned NonSendableKlass {
36+ func testNoRemoveFunctionResultImmediateTypedFunctionWithResult ( ) -> ( ( ) -> sending NonSendableKlass) { fatalError ( ) }
3737
3838struct MethodTest {
3939 // CHECK: sil hidden [ossa] @sending_mangling.MethodTest.init(__owned sending_mangling.NonSendableKlass) -> sending_mangling.MethodTest : $@convention(method) (@sil_sending @owned NonSendableKlass, @thin MethodTest.Type) -> MethodTest {
@@ -61,8 +61,8 @@ struct MethodTest {
6161 // CHECK: sil hidden [ossa] @sending_mangling.MethodTest.testNoRemoveFunctionResultImmediateTypedFunctionWithArg() -> (sending __owned sending_mangling.NonSendableKlass) -> () : $@convention(method) (MethodTest) -> @owned @callee_guaranteed (@sil_sending @owned NonSendableKlass) -> () {
6262 func testNoRemoveFunctionResultImmediateTypedFunctionWithArg( ) -> ( ( sending NonSendableKlass) -> ( ) ) { fatalError ( ) }
6363
64- // CHECK: sil hidden [ossa] @sending_mangling.MethodTest.testNoRemoveFunctionResultImmedateTypedFunctionWithResult () -> () -> sending sending_mangling.NonSendableKlass : $@convention(method) (MethodTest) -> @owned @callee_guaranteed () -> @sil_sending @owned NonSendableKlass {
65- func testNoRemoveFunctionResultImmedateTypedFunctionWithResult ( ) -> ( ( ) -> sending NonSendableKlass) { fatalError ( ) }
64+ // CHECK: sil hidden [ossa] @sending_mangling.MethodTest.testNoRemoveFunctionResultImmediateTypedFunctionWithResult () -> () -> sending sending_mangling.NonSendableKlass : $@convention(method) (MethodTest) -> @owned @callee_guaranteed () -> @sil_sending @owned NonSendableKlass {
65+ func testNoRemoveFunctionResultImmediateTypedFunctionWithResult ( ) -> ( ( ) -> sending NonSendableKlass) { fatalError ( ) }
6666}
6767
6868protocol SendingProtocol {
@@ -107,6 +107,6 @@ struct ConstructorSharedTest {
107107
108108 // This is a func which takes its parameter at +0 so we should suppress both.
109109 //
110- // CHECK: sil hidden [ossa] @sending_mangling.ConstructorSharedTest.functionSupressed (sending_mangling.NonSendableKlass) -> () : $@convention(method) (@sil_sending @guaranteed NonSendableKlass, ConstructorSharedTest) -> () {
111- func functionSupressed ( _ x: __shared sending NonSendableKlass) { }
110+ // CHECK: sil hidden [ossa] @sending_mangling.ConstructorSharedTest.functionSuppressed (sending_mangling.NonSendableKlass) -> () : $@convention(method) (@sil_sending @guaranteed NonSendableKlass, ConstructorSharedTest) -> () {
111+ func functionSuppressed ( _ x: __shared sending NonSendableKlass) { }
112112}
0 commit comments