summaryrefslogtreecommitdiff
path: root/gcc/testsuite/rust/compile/torture/tuple_field_access.rs
blob: 8d1bbe9906ce1f2b7e7dab259f6f87a280b15785 (plain)
1
2
3
4
5
6
struct Foo(i32, i32);

fn main() {
    let mut a = Foo(1, 2);
    a.0 = 22;
}