rust/tests/mir-opt/dataflow-const-prop/cast.rs

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

8 lines
134 B
Rust
Raw Normal View History

// unit-test: DataflowConstProp
// EMIT_MIR cast.main.DataflowConstProp.diff
fn main() {
let a = 257;
let b = a as u8 + 1;
}