(root)/
gcc-13.2.0/
gcc/
testsuite/
rust/
compile/
torture/
struct_init_6.rs
struct Foo {
    a: i32,
    // { dg-warning "field is never read" "" { target *-*-* } .-1 }
    b: i32,
}

fn main() {
    let a = Foo { a: 1, b: 2 };
    let b = Foo { a: 1, ..a };
    // { dg-warning "unused name" "" { target *-*-* } .-1 }
}