1 //! Copy of `nrvo-simple.rs`, to ensure that full dest-prop handles it too.
2 // unit-test: DestinationPropagation
3 // EMIT_MIR simple.nrvo.DestinationPropagation.diff
4 fn nrvo(init: fn(&mut [u8; 1024])) -> [u8; 1024] {
5 let mut buf = [0; 1024];