blob: 281d0e194a0beeedbbc69f5ebb45f7cdaca602b4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
const S = struct {
fizz: void,
};
export fn entry() void {
_ = @as(S, struct { void }{{}});
}
// error
//
// :6:31: error: expected type 'tmp.S', found 'struct { void }'
// :1:11: note: struct declared here
|