☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
rust
/
compile
/
torture
/
struct_init_2.rs
☽
☼
gcc/testsuite/rust/compile/torture/struct_init_2.rs
code
plain
raw
1
struct Foo(f32, f32);
2
3
fn main() {
4
let a = Foo { 0: 10.0, 1: 20.0 };
5
// { dg-warning "unused name" "" { target *-*-* } .-1 }
6
}