summaryrefslogtreecommitdiffstats
path: root/tests/mir-opt/return_an_array.rs
blob: bea3c317c892f6f78657bf32e8d36a7fe0bdc3cf (plain)
1
2
3
4
5
6
7
8
// this tests move up progration, which is not yet implemented

fn foo() -> [u8; 1024] {
        let x = [0; 1024];
        return x;
}

fn main() { }