]> git.lizzy.rs Git - rust.git/blob - tests/ui/inline-const/expr-with-block.rs
Rollup merge of #106707 - ehuss:remove-dupe-sha-1, r=Mark-Simulacrum
[rust.git] / tests / ui / inline-const / expr-with-block.rs
1 // check-pass
2 #![feature(inline_const)]
3 fn main() {
4     match true {
5         true => const {}
6         false => ()
7     }
8     const {}
9     ()
10 }