Skip to content

Commit 54ebfc4

Browse files
committed
Fix salvage integer literal test on 32 bits
rdar://127255781 (cherry picked from commit 26cb139)
1 parent 0b9bddf commit 54ebfc4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/DebugInfo/salvage-integer-literal.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
public func f() -> Int {
88
let a = 2
99
let b = 3
10-
// CHECK: debug_value undef : $Builtin.Int64, let, name "a", type $Int, expr op_constu:2:op_fragment:#Int._value
11-
// CHECK: debug_value undef : $Builtin.Int64, let, name "b", type $Int, expr op_constu:3:op_fragment:#Int._value
10+
// CHECK: debug_value undef : $Builtin.Int{{32|64}}, let, name "a", type $Int, expr op_constu:2:op_fragment:#Int._value
11+
// CHECK: debug_value undef : $Builtin.Int{{32|64}}, let, name "b", type $Int, expr op_constu:3:op_fragment:#Int._value
1212
return a + b
1313
}

0 commit comments

Comments
 (0)