mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 06:13:07 +00:00
9 lines
139 B
Zig
9 lines
139 B
Zig
pub const E = enum(u32) { A, B, C };
|
|
pub const S = extern struct {
|
|
e: E,
|
|
};
|
|
test "bug 1467" {
|
|
const s: S = undefined;
|
|
_ = s;
|
|
}
|