blob: 0abc1a4f73b0da07c158c80526f6e7095873006e (
plain)
1
2
3
4
5
6
7
8
9
|
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
// :1:20: note: while checking this field
|