rust/tests/ui/inline-const/expr-with-block.rs

11 lines
118 B
Rust

//@ check-pass
fn main() {
match true {
true => const {}
false => ()
}
const {}
()
}