Skip to content

Commit 37f29f3

Browse files
[test] Fix IRGen/sensitive.swift test for 32-bit platforms
1 parent 670c731 commit 37f29f3

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

test/IRGen/sensitive.swift

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -98,17 +98,17 @@ protocol P {}
9898

9999
@sensitive
100100
struct SensitiveStruct {
101-
var a = 0xdeadbeaf
102-
var b = 0xdeadbeaf
103-
var c = 0xdeadbeaf
101+
var a: UInt32 = 0xdeadbeaf
102+
var b: UInt32 = 0xdeadbeaf
103+
var c: UInt32 = 0xdeadbeaf
104104
}
105105

106106
// A struct which would be address-only also without @sensitive
107107
@sensitive
108108
struct NonLoadableSensitiveStruct {
109-
var a = 0xdeadbeaf
110-
var b = 0xdeadbeaf
111-
var c = 0xdeadbeaf
109+
var a: UInt32 = 0xdeadbeaf
110+
var b: UInt32 = 0xdeadbeaf
111+
var c: UInt32 = 0xdeadbeaf
112112
let p: P
113113
}
114114

0 commit comments

Comments
 (0)