summary refs log tree commit diff
path: root/src/test/pretty/issue-19077.rs
blob: b42791113056e336c354142ab33814b1466f4993 (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 => (),
    }
}