]> git.lizzy.rs Git - rust.git/blob - tests/mir-opt/return_an_array.rs
Do not eagerly recover for bad impl-trait in macros
[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() { }