mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 18:53:39 +00:00
12 lines
230 B
Rust
12 lines
230 B
Rust
// ignore-wasm32 compiled with panic=abort by default
|
|
#[inline(never)]
|
|
fn noop() {}
|
|
|
|
// EMIT_MIR simplify_match.main.ConstProp.diff
|
|
fn main() {
|
|
match { let x = false; x } {
|
|
true => noop(),
|
|
false => {},
|
|
}
|
|
}
|