summaryrefslogtreecommitdiff
path: root/gcc/testsuite/rust/compile/torture/array_function.rs
blob: 4e2b2e03f31e98ece816daa0aaa23e28a225d88f (plain)
1
2
3
4
5
6
7
8
fn foo() -> i32 {
    1
}


fn main() {
    let _a: [i32; 1] = [foo()];
}