]> git.proxmox.com Git - rustc.git/blame - src/test/mir-opt/return_an_array.rs
Merge tag 'debian/1.52.1+dfsg1-1_exp2' into proxmox/buster
[rustc.git] / src / test / mir-opt / return_an_array.rs
CommitLineData
5bcae85e 1// this tests move up progration, which is not yet implemented
a7813a04 2
5bcae85e
SL
3fn foo() -> [u8; 1024] {
4 let x = [0; 1024];
5 return x;
54a0048b 6}
5bcae85e 7
ff7c6d11 8fn main() { }