Skip to content

Commit 9356412

Browse files
committed
Change test case so that it passes on archs that return directly
1 parent ba25b62 commit 9356412

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/IRGen/availability.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ public func dontHoist() {
3838
// CHECK: ret void
3939

4040
// OPT-LABEL: define{{.*}} @{{.*}}multipleAvailabilityChecks
41-
// OPT: call void @_swift_stdlib_operatingSystemVersion
42-
// OPT-NOT: call void @_swift_stdlib_operatingSystemVersion
41+
// OPT: call {{.*}} @_swift_stdlib_operatingSystemVersion
42+
// OPT-NOT: call {{.*}} @_swift_stdlib_operatingSystemVersion
4343
// OPT: ret void
4444
public func multipleAvailabilityChecks() {
4545
if #available(OSX 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *) {

0 commit comments

Comments
 (0)