]> git.lizzy.rs Git - rust.git/blob - src/test/mir-opt/return_an_array.rs
Merge commit '3a31c6d8272c14388a34622193baf553636fe470' into sync_cg_clif-2021-07-07
[rust.git] / src / test / mir-opt / return_an_array.rs
1 // this tests move up progration, which is not yet implemented
2
3 fn foo() -> [u8; 1024] {
4         let x = [0; 1024];
5         return x;
6 }
7
8 fn main() { }