@@ -88,6 +88,20 @@ public struct Impl: P {
88
88
}
89
89
return ( 1 , 2 , 3 , 4 , 5 )
90
90
}
91
+
92
+ public func nonMatching_f0( _ b: Bool ) throws ( OneWord) -> ( Float , Float ) {
93
+ guard b else {
94
+ throw OneWord ( )
95
+ }
96
+ return ( 1.0 , 2.0 )
97
+ }
98
+
99
+ public func nonMatching_f1( _ b: Bool ) throws ( OneWord) -> ( Float , Bool , Float ) {
100
+ guard b else {
101
+ throw OneWord ( )
102
+ }
103
+ return ( 1.0 , true , 2.0 )
104
+ }
91
105
}
92
106
93
107
@available ( SwiftStdlib 6 . 0 , * )
@@ -175,6 +189,20 @@ public struct ImplAsync: PAsync {
175
189
}
176
190
return ( 1 , 2 , 3 , 4 , 5 )
177
191
}
192
+
193
+ public func nonMatching_f0( _ b: Bool ) async throws ( OneWord) -> ( Float , Float ) {
194
+ guard b else {
195
+ throw OneWord ( )
196
+ }
197
+ return ( 1.0 , 2.0 )
198
+ }
199
+
200
+ public func nonMatching_f1( _ b: Bool ) async throws ( OneWord) -> ( Float , Bool , Float ) {
201
+ guard b else {
202
+ throw OneWord ( )
203
+ }
204
+ return ( 1.0 , true , 2.0 )
205
+ }
178
206
}
179
207
180
208
public protocol P {
@@ -191,6 +219,9 @@ public protocol P {
191
219
func g3( _ b: Bool ) throws ( OneWord) -> ( Int , Int , Int )
192
220
func g4( _ b: Bool ) throws ( OneWord) -> ( Int , Int , Int , Int )
193
221
func g5( _ b: Bool ) throws ( OneWord) -> ( Int , Int , Int , Int , Int )
222
+
223
+ func nonMatching_f0( _ b: Bool ) throws ( OneWord) -> ( Float , Float )
224
+ func nonMatching_f1( _ b: Bool ) throws ( OneWord) -> ( Float , Bool , Float )
194
225
}
195
226
196
227
@available ( SwiftStdlib 6 . 0 , * )
@@ -208,4 +239,7 @@ public protocol PAsync {
208
239
func g3( _ b: Bool ) async throws ( OneWord) -> ( Int , Int , Int )
209
240
func g4( _ b: Bool ) async throws ( OneWord) -> ( Int , Int , Int , Int )
210
241
func g5( _ b: Bool ) async throws ( OneWord) -> ( Int , Int , Int , Int , Int )
242
+
243
+ func nonMatching_f0( _ b: Bool ) async throws ( OneWord) -> ( Float , Float )
244
+ func nonMatching_f1( _ b: Bool ) async throws ( OneWord) -> ( Float , Bool , Float )
211
245
}
0 commit comments