blob: ca15cc6bf26d17527cd77fe73200130ab130609c (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
const S = struct {
next: ?*align(1) S align(128),
};
export fn entry() usize {
return @alignOf(S);
}
// error
//
// :1:11: error: struct layout depends on being pointer aligned
|