]> git.lizzy.rs Git - rust.git/blob - src/test/mir-opt/return_an_array.rs
Merge commit '57b3c4b90f4346b3990c1be387c3b3ca7b78412c' into clippyup
[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() { }