Skip to content

Commit ec33841

Browse files
committed
fix clang/test/CodeGenObjC/availability-check.m testcase
(cherry picked from commit 12b8531)
1 parent fb39aa4 commit ec33841

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/test/CodeGenObjC/availability-check.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ void use_at_available() {
2727
if (__builtin_available(macos 10.11, *))
2828
;
2929

30-
// CHECK: call i32 @__isOSVersionAtLeast(i32 10, i32 16, i32 0)
30+
// CHECK: call i32 @__isPlatformVersionAtLeast(i32 1, i32 10, i32 16, i32 0)
3131
// CHECK-NEXT: icmp ne
3232
if (__builtin_available(macos 10.16, *))
3333
;
34-
// CHECK: call i32 @__isOSVersionAtLeast(i32 11, i32 0, i32 0)
34+
// CHECK: call i32 @__isPlatformVersionAtLeast(i32 1, i32 11, i32 0, i32 0)
3535
// CHECK-NEXT: icmp ne
3636
if (__builtin_available(macos 11.0, *))
3737
;

0 commit comments

Comments
 (0)