rust/tests/ui/inline-const/expr-with-block.rs
2023-01-11 09:32:08 +00:00

11 lines
142 B
Rust

// check-pass
#![feature(inline_const)]
fn main() {
match true {
true => const {}
false => ()
}
const {}
()
}