2014-11-22 14:41:15 -06: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 13:45:14 -06:00
|
|
|
false if false => unsafe {},
|
|
|
|
true => {}
|
2014-11-22 14:41:15 -06:00
|
|
|
false => (),
|
|
|
|
}
|
|
|
|
}
|