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