@@ -32,8 +32,8 @@ func testNoRemoveFunctionResultSubTypeResult() -> sending S<() -> sending NonSen
32
32
// CHECK: sil hidden [ossa] @sending_mangling.testNoRemoveFunctionResultImmediateTypedFunctionWithArg() -> (sending __owned sending_mangling.NonSendableKlass) -> () : $@convention(thin) () -> @owned @callee_guaranteed (@sil_sending @owned NonSendableKlass) -> () {
33
33
func testNoRemoveFunctionResultImmediateTypedFunctionWithArg( ) -> ( ( sending NonSendableKlass) -> ( ) ) { fatalError ( ) }
34
34
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 ( ) }
37
37
38
38
struct MethodTest {
39
39
// 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 {
61
61
// CHECK: sil hidden [ossa] @sending_mangling.MethodTest.testNoRemoveFunctionResultImmediateTypedFunctionWithArg() -> (sending __owned sending_mangling.NonSendableKlass) -> () : $@convention(method) (MethodTest) -> @owned @callee_guaranteed (@sil_sending @owned NonSendableKlass) -> () {
62
62
func testNoRemoveFunctionResultImmediateTypedFunctionWithArg( ) -> ( ( sending NonSendableKlass) -> ( ) ) { fatalError ( ) }
63
63
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 ( ) }
66
66
}
67
67
68
68
protocol SendingProtocol {
@@ -107,6 +107,6 @@ struct ConstructorSharedTest {
107
107
108
108
// This is a func which takes its parameter at +0 so we should suppress both.
109
109
//
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) { }
112
112
}
0 commit comments