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

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

11 lines
142 B
Rust
Raw Normal View History

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