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.

9 lines
152 B
Rust
Raw Normal View History

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