Sema: implement tupleFieldVal, fix comptime elem_ptr
This commit is contained in:
@@ -177,8 +177,6 @@ test "implicit cast error unions with non-optional to optional pointer" {
|
||||
}
|
||||
|
||||
test "compare equality of optional and non-optional pointer" {
|
||||
if (builtin.zig_backend != .stage1) return error.SkipZigTest; // TODO
|
||||
|
||||
const a = @intToPtr(*const usize, 0x12345678);
|
||||
const b = @intToPtr(?*usize, 0x12345678);
|
||||
try expect(a == b);
|
||||
|
||||
Reference in New Issue
Block a user