Skip to content

Commit d83baca

Browse files
committed
Fix test case on linux
1 parent a39c831 commit d83baca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/IRGen/weak_class_protocol.sil

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ protocol Foo: class { }
1515
// CHECK: store i8** [[WTABLE]], i8*** [[WTABLE_SLOT]], align 8
1616
// CHECK: [[INSTANCE_SLOT:%.*]] = getelementptr inbounds { %swift.weak, i8** }, { %swift.weak, i8** }* %0, i32 0, i32 0
1717
// CHECK-objc: call void @swift_unknownWeakAssign(%swift.weak* [[INSTANCE_SLOT]], %objc_object* [[INSTANCE]]) {{#[0-9]+}}
18-
// CHECK-native: call void @swift_weakAssign(%swift.weak* [[INSTANCE_SLOT]], %swift.refcounted* [[INSTANCE]]) {{#[0-9]+}}
18+
// CHECK-native: call %swift.weak* @swift_weakAssign(%swift.weak* [[INSTANCE_SLOT]], %swift.refcounted* [[INSTANCE]]) {{#[0-9]+}}
1919
// CHECK: ret void
2020
// CHECK: }
2121
sil @store_weak : $@convention(thin) (@owned Foo?) -> @out @sil_weak Foo? {

0 commit comments

Comments
 (0)