aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/rust/compile/torture/tuple_struct2.rs
blob: 5e0a76e1de89ae91ac8b29f2133f323578581b5d (plain)
1
2
3
4
5
6
7
8
9
10
11
struct Foo(i32, bool);

fn main() {
    let a = Foo(1, true);

    let b;
    let c;

    b = a.0;
    c = a.1;
}