summaryrefslogtreecommitdiff
path: root/gcc/testsuite/rust/compile/torture/struct_init_10.rs
blob: 7fbceb039743438641433363f5d504736281d886 (plain)
1
2
3
4
5
6
7
8
9
fn main() {
    struct foo {
        a: i32,
        b: f32,
    };

    let a;
    a = foo { a: 123, b: 456f32 };
}