Skip to content

Commit a329940

Browse files
committed
[cxx-interop] Fix test for reference types on armv7k
This adjusts the test to be correct on 32-bit platforms. rdar://127795392 (cherry picked from commit d84cbac)
1 parent 476ab0d commit a329940

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Interop/Cxx/foreign-reference/reference-counted-irgen.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public func getNullable(wantNullptr: Bool) -> GlobalCountNullableInit? {
3636
return result
3737
}
3838

39-
// CHECK: define {{.*}}swiftcc i64 @"$s4main11getNullable11wantNullptrSo011GlobalCountC4InitVSgSb_tF"(i1 %0)
39+
// CHECK: define {{.*}}swiftcc i{{.*}} @"$s4main11getNullable11wantNullptrSo011GlobalCountC4InitVSgSb_tF"(i1 %0)
4040
// CHECK-NEXT: entry:
4141
// CHECK: %1 = call ptr @{{_ZN23GlobalCountNullableInit6createEb|"\?create\@GlobalCountNullableInit\@\@SAPEAU1\@_N\@Z"}}
4242
// CHECK-NEXT: %2 = ptrtoint ptr %1 to i64

0 commit comments

Comments
 (0)