| author | |
| committer | |
| log | 7228dc0ef98633876344c00fbadcef319dd11257 |
| tree | 9fb51852c5651272736117c59277aaf7bb957420 |
| parent | 8455563ed86ddb1fc3157e1bf74dc77c1e6aa6bb |
1 files changed, 2 insertions(+), 2 deletions(-)
doc/langref/test_peer_type_resolution.zig+2-2| ... | ... | @@ -96,8 +96,8 @@ fn peerTypeEmptyArrayAndSliceAndError(a: bool, slice: []u8) anyerror![]u8 { |
| 96 | 96 | } |
| 97 | 97 | |
| 98 | 98 | test "peer type resolution: *const T and ?*T" { |
| 99 | const a: *const usize = @ptrFromInt(0x123456780); | |
| 100 | const b: ?*usize = @ptrFromInt(0x123456780); | |
| 99 | const a: *const usize = @ptrFromInt(0x12345678); | |
| 100 | const b: ?*usize = @ptrFromInt(0x12345678); | |
| 101 | 101 | try expectEqual(a, b); |
| 102 | 102 | try expectEqual(b, a); |
| 103 | 103 | } |