☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
rust
/
compile
/
torture
/
struct_init_8.rs
☽
☼
gcc/testsuite/rust/compile/torture/struct_init_8.rs
code
plain
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
}