]> git.proxmox.com Git - rustc.git/blame - src/test/mir-opt/copy_propagation.rs
New upstream version 1.44.1+dfsg1
[rustc.git] / src / test / mir-opt / copy_propagation.rs
CommitLineData
ba9703b0
XL
1// EMIT_MIR rustc.test.CopyPropagation.diff
2
476ff2be
SL
3fn test(x: u32) -> u32 {
4 let y = x;
5 y
a7813a04
XL
6}
7
abe05a73
XL
8fn main() {
9 // Make sure the function actually gets instantiated.
10 test(0);
11}