const Foo = struct { a: i32 = 1234, b: i32, }; test "default struct initialization fields" { const x: Foo = .{ .b = 5, }; if (x.a + x.b != 1239) { comptime unreachable; } } // test