rust/tests/mir-opt/const_prop/ref_deref_project.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
171 B
Rust
Raw Normal View History

// skip-filecheck
2023-01-07 15:10:38 -06:00
// unit-test: ConstProp
2020-07-27 14:22:43 -05:00
// EMIT_MIR ref_deref_project.main.ConstProp.diff
2020-04-04 12:15:01 -05:00
fn main() {
*(&(4, 5).1); // This does not currently propagate (#67862)
}