mirror of
https://github.com/ziglang/zig.git
synced 2024-11-30 09:02:32 +00:00
ede3798485
Closes #12911
12 lines
231 B
Zig
12 lines
231 B
Zig
const builtin = @import("builtin");
|
|
|
|
const Item = struct { field: u8 };
|
|
const Thing = struct {
|
|
array: [1]Item,
|
|
};
|
|
test {
|
|
if (builtin.zig_backend == .stage1) return error.SkipZigTest;
|
|
|
|
_ = Thing{ .array = undefined };
|
|
}
|