2014-11-22 20:41:15 +00:00
|
|
|
//
|
|
|
|
// Testing that unsafe blocks in match arms are followed by a comma
|
|
|
|
// pp-exact
|
|
|
|
fn main() {
|
|
|
|
match true {
|
|
|
|
true if true => (),
|
2021-12-01 19:45:14 +00:00
|
|
|
false if false => unsafe {},
|
|
|
|
true => {}
|
2014-11-22 20:41:15 +00:00
|
|
|
false => (),
|
|
|
|
}
|
|
|
|
}
|