Closed wooster0 closed 1 month ago
0.14.0-dev.1588+2111f4c38
var a: union { b: u32 } = undefined; export fn x() void { a = .{ .b = 0 }; }
$ zig build-obj x.zig Trace/breakpoint trap
Successful compilation
Doesn't seem to happen if the union is packed or extern
This has to be a regression
Duplicate of #19832
Zig Version
0.14.0-dev.1588+2111f4c38
Steps to Reproduce and Observed Behavior
Expected Behavior
Successful compilation