Skip to content

Commit c440040

Browse files
committed
Fix test case
1 parent 8595961 commit c440040

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/SILGen/closures_callee_guaranteed.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public func apply(_ f : () -> Int) -> Int {
2323
// CHECK-LABEL: sil @{{.*}}test{{.*}} : $@convention(thin) () -> ()
2424
// CHECK: [[A:%.*]] = function_ref @{{.*}}apply{{.*}} : $@convention(thin) (@owned @noescape @callee_guaranteed () -> Int) -> Int
2525
// CHECK: [[C1:%.*]] = function_ref @{{.*}}test{{.*}} : $@convention(thin) () -> Int
26-
// CHECK: [[C2:%.*]] = convert_function [[C2]] : $@convention(thin) () -> Int to $@convention(thin) @noescape () -> Int
26+
// CHECK: [[C2:%.*]] = convert_function [[C1]] : $@convention(thin) () -> Int to $@convention(thin) @noescape () -> Int
2727
// CHECK: [[C3:%.*]] = thin_to_thick_function [[C2]] : $@convention(thin) @noescape () -> Int to $@noescape @callee_guaranteed () -> Int
2828
// CHECK: apply [[A]]([[C3]]) : $@convention(thin) (@owned @noescape @callee_guaranteed () -> Int) -> Int
2929
public func test() {

0 commit comments

Comments
 (0)