Skip to content

Commit a60794a

Browse files
committed
[Test] Fix expected return value in typed_throws_thunks.swift
For empty errors, we expect `undef` to eb returned
1 parent 26521cd commit a60794a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/IRGen/typed_throws_thunks.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ protocol P2 {
9999
// CHECK-SAME: )
100100
// CHECK-SAME: {
101101
// CHECK: failure:
102-
// CHECK-NEXT: ret void
102+
// CHECK-NEXT: ret i8 undef
103103
// CHECK: success:
104104
// CHECK-NEXT: ret i8 %{{.*}}
105105
func h() throws(E) -> Int8

0 commit comments

Comments
 (0)