mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-03 17:48:43 +00:00
9 lines
152 B
Rust
9 lines
152 B
Rust
// skip-filecheck
|
|
// unit-test: DataflowConstProp
|
|
|
|
// EMIT_MIR cast.main.DataflowConstProp.diff
|
|
fn main() {
|
|
let a = 257;
|
|
let b = a as u8 + 1;
|
|
}
|