mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-01 19:23:50 +00:00
11 lines
159 B
Rust
11 lines
159 B
Rust
// unit-test: DataflowConstProp
|
|
|
|
// EMIT_MIR issue_81605.f.DataflowConstProp.diff
|
|
fn f() -> usize {
|
|
1 + if true { 1 } else { 2 }
|
|
}
|
|
|
|
fn main() {
|
|
f();
|
|
}
|