rust/tests/mir-opt/simplify_match.rs

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

11 lines
176 B
Rust
Raw Normal View History

2020-04-02 21:09:01 +00:00
#[inline(never)]
fn noop() {}
2020-07-27 19:22:43 +00:00
// EMIT_MIR simplify_match.main.ConstProp.diff
2019-03-19 11:38:18 +00:00
fn main() {
match { let x = false; x } {
2020-04-02 21:09:01 +00:00
true => noop(),
2019-03-19 11:38:18 +00:00
false => {},
}
}