Skip to content

Commit 50f4eaf

Browse files
authored
Fix i32/i64 global type compat in static-object-non-darwin.swift
1 parent 7bc47c9 commit 50f4eaf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/embedded/static-object-non-darwin.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public func checkPot(i: UInt8, testValue: UInt8) -> ValidState {
2020
return pots[Int(i)] < testValue ? .yes : .no
2121
}
2222

23-
// CHECK: @"$e4main4pots_Wz" = {{.*}}global i32 0
23+
// CHECK: @"$e4main4pots_Wz" = {{.*}}global i{{(32|64)}} 0
2424
// CHECK: @"$es20__StaticArrayStorageCN" = {{.*}}global ptr null
2525
// CHECK: @"$e4main4pots_WZTv_r" = {{.*}}constant %Ts23_ContiguousArrayStorageCySiG_tailelems0 {{.*}}@"$es20__StaticArrayStorageCN"
2626
// CHECK: @"$e4main4potsSaySiGvp" = {{.*}}constant %TSa {{.*}}@"$e4main4pots_WZTv_r"

0 commit comments

Comments
 (0)