summaryrefslogtreecommitdiffstats
path: root/src/test/pretty/issue-19077.rs
blob: 0d2702804d12db379962dbf2ccea1cde7c33d5d5 (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 => (),
    }
}