//ww:error "duplicate field 'x'" package main; // #59.13: a named field colliding with an earlier embed's promoted // name is the plain duplicate-field reject (cstage check.c:943-950 // compares against the flattened head, which includes promotions). type inner = struct { x: i32, y: i32, }; type outer = struct { inner, x: i32, }; fn main() i32 = { return 0; };