| ... | @@ -96,8 +96,8 @@ fn peerTypeEmptyArrayAndSliceAndError(a: bool, slice: []u8) anyerror![]u8 { | ... | @@ -96,8 +96,8 @@ fn peerTypeEmptyArrayAndSliceAndError(a: bool, slice: []u8) anyerror![]u8 { |
| 96 | } | 96 | } |
| 97 | | 97 | |
| 98 | test "peer type resolution: *const T and ?*T" { | 98 | test "peer type resolution: *const T and ?*T" { |
| 99 | const a: *const usize = @ptrFromInt(0x123456780); | 99 | const a: *const usize = @ptrFromInt(0x12345678); |
| 100 | const b: ?*usize = @ptrFromInt(0x123456780); | 100 | const b: ?*usize = @ptrFromInt(0x12345678); |
| 101 | try expectEqual(a, b); | 101 | try expectEqual(a, b); |
| 102 | try expectEqual(b, a); | 102 | try expectEqual(b, a); |
| 103 | } | 103 | } |