]> git.lizzy.rs Git - rust.git/blob - src/test/pretty/issue-19077.rs
Merge commit 'f2cdd4a78d89c009342197cf5844a21f8aa813df' into sync_cg_clif-2022-04-22
[rust.git] / src / test / pretty / issue-19077.rs
1 //
2 // Testing that unsafe blocks in match arms are followed by a comma
3 // pp-exact
4 fn main() {
5     match true {
6         true if true => (),
7         false if false => unsafe {},
8         true => {}
9         false => (),
10     }
11 }