mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-08 06:44:27 +00:00
13 lines
222 B
Zig
13 lines
222 B
Zig
const A = struct {
|
|
a: A,
|
|
};
|
|
export fn entry() usize {
|
|
return @sizeOf(A);
|
|
}
|
|
|
|
// error
|
|
// backend=stage2
|
|
// target=native
|
|
//
|
|
// :1:11: error: struct 'tmp.A' depends on itself
|
|
// :2:5: note: while checking this field
|