We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4ff948 commit 60af427Copy full SHA for 60af427
test/behavior/eval.zig
@@ -646,8 +646,6 @@ pub fn TypeWithCompTimeSlice(comptime field_name: []const u8) type {
646
}
647
648
test "comptime function with mutable pointer is not memoized" {
649
- if (builtin.zig_backend != .stage1) return error.SkipZigTest; // TODO
650
-
651
comptime {
652
var x: i32 = 1;
653
const ptr = &x;
@@ -662,8 +660,6 @@ fn increment(value: *i32) void {
662
660
663
661
664
test "const ptr to comptime mutable data is not memoized" {
665
666
667
668
var foo = SingleFieldStruct{ .x = 1 };
669
try expect(foo.read_x() == 1);
0 commit comments