]> git.lizzy.rs Git - rust.git/blob - tests/mir-opt/return_an_array.rs
Merge commit '598f0909568a51de8a2d1148f55a644fd8dffad0' into sync_cg_clif-2023-01-24
[rust.git] / tests / 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() { }