Debian Codegraph @

gcc/testsuite/rust/compile/torture/struct_init_8.rs

raw
1 struct Foo(f32, i32);
2
3 fn main() {
4 let a = Foo { 1: 1, 0: 2f32 };
5 let b = Foo { ..a };
6 // { dg-warning "unused name" "" { target *-*-* } .-1 }
7 }