]>
git.proxmox.com Git - rustc.git/blob - tests/mir-opt/simplify_locals_removes_unused_consts.rs
1 // unit-test: SimplifyLocals-before-const-prop
2 // compile-flags: -C overflow-checks=no
4 fn use_zst(_
: ((), ())) {}
12 // EMIT_MIR simplify_locals_removes_unused_consts.main.SimplifyLocals-before-const-prop.diff
14 let ((), ()) = ((), ());
17 use_u8((Temp { x: 40 }
).x
+ 2);