summaryrefslogtreecommitdiff
path: root/gcc/testsuite/rust/compile/torture/tuple_struct1.rs
blob: 0ac19b179a94cb4d41edf9a481e85bc821b31074 (plain)
1
2
3
4
5
6
struct Foo(i32, i32, bool);

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