2 // Make sure match uses the usual pointer comparison code path -- i.e., it should complain
3 // that pointer comparison is disallowed, not that parts of a pointer are accessed as raw
6 match &1 as *const i32 as usize {
7 //~^ ERROR casting pointers to integers in constants
8 //~| ERROR evaluation of constant value failed