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 pointers cannot be cast to integers during const eval