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

11 lines
142 B
Rust
Raw Normal View History

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