7453a54e |
1 | fn main() { |
416331ca |
2 | [(); { &loop { break } as *const _ as usize } ]; |
ba9703b0 XL |
3 | //~^ ERROR `loop` is not allowed in a `const` |
4 | //~| ERROR casting pointers to integers in constants is unstable |
416331ca |
5 | //~| ERROR evaluation of constant value failed |
223e47cc |
6 | } |