#zig build-obj {
--name test -fno-emit-bin
-Mroot=test.zig
#}

#write test.zig {
const Foo = struct {
    x: i32,
};
var x: Foo = .{ .x = 2 };
comptime {
    x = .{ .x = 3 };
}
#}
#update
#check errors {
test.zig:6:17: error: unable to evaluate comptime expression
test.zig:6:17: note: operation is runtime due to this operand
test.zig:5:1: note: 'comptime' keyword forces comptime evaluation
#}
