☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
rust
/
compile
/
issue-2906.rs
☽
☼
gcc/testsuite/rust/compile/issue-2906.rs
code
plain
raw
1
// { dg-warning "field is never read: .a." "" { target *-*-* } .-1 }
2
struct Foo { a: i32 }
3
4
fn main() {
5
let a = Foo { a: 15 };
6
7
match a {
8
b => { }
9
}
10
}