about summary refs log tree commit diff
path: root/tests/pretty/issue-19077.rs
blob: c57ea0cf02d144fa5c63763d0572b1f8287600ec (plain)
1
2
3
4
5
6
7
8
9
10
11
//
// Testing that unsafe blocks in match arms are followed by a comma
//@ pp-exact
fn main() {
    match true {
        true if true => (),
        false if false => unsafe {},
        true => {}
        false => (),
    }
}