| 1 | const S = extern struct { |
| 2 | f: struct { u32 }, |
| 3 | }; |
| 4 | |
| 5 | comptime { |
| 6 | _ = @sizeOf(S); |
| 7 | } |
| 8 | |
| 9 | // error |
| 10 | // |
| 11 | // :2:8: error: extern structs cannot contain fields of type 'struct { u32 }' |
| 12 | // :2:8: note: tuples have no guaranteed in-memory representation |